utils.full_process executed when processor=None
Author: sdennlerCreated Aug 1, 2021Updated Aug 4, 2021
Great and very helpful tool! Thank you!
One thing I noticed is that even when process.extractOne (and others) have processor set to None, utils.full_process is still executed several times. Probably because of
This generates two times the same output:
from fuzzywuzzy import process
query = "123 .... "
choices = ["123", query]
print(process.extract(query, choices))
print(process.extract(query, choices, processor=None))Output:
[('123', 100), ('123 .... ', 100)]
[('123', 100), ('123 .... ', 100)]Expected would be that without a processor the 1:1 match is better. So some thing like this:
[('123', 100), ('123 .... ', 100)]
[('123 .... ', 100), ('123', 90)]Source: seatgeek/fuzzywuzzy