String matching algorithms #162
-
Good day! I am trying to use your module in license plate recognition system. Because recognized strings are not always stable I solve clustering problem with your method rapidfuzz::extractOne. On my test data I see the following results and can't explain them choices = ['7', 'X946PT78', 'X10', 'T'] [('7', 90.0, 0), ('X946PT78', 85.71428571428571, 3), ('X10', 29.999999999999996, 2), ('T', 0.0, 1)] Please help me to understand results |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
Thank you for you answer. I took your advice. |
Beta Was this translation helpful? Give feedback.
By default
extractOne
is using fuzz.WRatio, which combines multiple ratios (I will add a explanation of this in the documentation for 1.0.0):documentation fuzz.WRatio
Here is the documentation from FuzzyWuzzy on fuzz.WRatio: