fuzzywuzzy icon indicating copy to clipboard operation
fuzzywuzzy copied to clipboard

Future enhancements using Metaphone

Open ghimireadarsh opened this issue 4 years ago • 0 comments

How about adding meta phone scoring as well to match the strings. Since, same strings can be written in different way, for example, "Mira" and "Meera" should have similar score, but using only levenshtein distance, it gives score of 67, which is very low, since both of those strings are same in different way. So, adding a metaphone along with levenshtein distance will definitely improve the string comparision metric value.

I used Metaphone library to generate the metaphone of the string and then used the fuzzywuzzy to generate the score. Well, it generated the string with the same metaphone to have 100 score.

ghimireadarsh avatar Jan 30 '20 02:01 ghimireadarsh