fuzzywuzzy
fuzzywuzzy copied to clipboard
Fix #307: inconsistent preprocessing
This will solve issue #307, which caused inconsistent preprocessing steps. This resulted in the possibility that a self-comparison could result in another score than 100. For example,
list(process.extractWithoutOrder("杰弗里·S·布里特", ["杰弗里·S·布里特"], scorer=fuzz.token_set_ratio))
[('杰弗里·S·布里特', 50)]
Which is unexpected.