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.
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.