I'm interested in augmenting this repo for an EM task, and was wondering if there are any suggestions on the best way to adapt this codebase to fit a 1-to-many scenario instead of 1-to-1. In other words, given an entity record $r$ and its set of potential matches, find all matches from the set.