You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to count zero distance for certain user-specified characters?
For example, for distance calculation in rapidfuzz I could specify weights=(0, 1, 1), but cannot specify specific characters to ignore. Now in my real use case I need to do string search, not just distance calculation. Therefore I am using fuzzysearch. And instead of specifying weights of (insertion, deletion, substitution), I need to override weights of (insertion, deletion, substitution) of certain characters to zero, while keeping rest of the functionality of find_near_matches intact.
Right now I am mostly interested in ignoring deletions and possibly replacements of certain characters.
The text was updated successfully, but these errors were encountered:
Would it be possible to count zero distance for certain user-specified characters?
For example, for distance calculation in rapidfuzz I could specify weights=(0, 1, 1), but cannot specify specific characters to ignore. Now in my real use case I need to do string search, not just distance calculation. Therefore I am using fuzzysearch. And instead of specifying weights of (insertion, deletion, substitution), I need to override weights of (insertion, deletion, substitution) of certain characters to zero, while keeping rest of the functionality of find_near_matches intact.
Right now I am mostly interested in ignoring deletions and possibly replacements of certain characters.
The text was updated successfully, but these errors were encountered: