python - FuzzyWuzzy String Matching - Case Sensitivity -
i'm using fuzzywuzzy string matching module seatgeek.
i find when using token_set_ratio search algorithm, small differences in case gives wildly differing results.
for example, if looking phrase "i eating" in file, 100% match. if phrase "i eating", change in case of 1 letter, gives me 65% match.
is there way make algorithm case insensitive?
token_set_ratio() case sensitive default.
from fuzzywuzzy import fuzz fuzz.token_set_ratio("i eating", "i eating") => 100
Comments
Post a Comment