fuzzywuzzy
fuzzywuzzy copied to clipboard
partial_ratio() for the long str
when i matching some short string with long string which is more than 200.
the partial_ration()
will call difflib.SequenceMatcher.get_matching_blocks()
, which autojunk=True
.
so i can't get the right result. can i pass this parameter to sequenceMatcher?
same question in stack overflow: https://stackoverflow.com/questions/51941303/get-matching-blocks-of-sequencematcher-when-match-long-string/51941787#51941787
Having the same issue here. Also, when using the python-Levenshtein speedup, AFAIK there is no autojunk. This is leading to inconsistent results between the two implementations.