seatgeek / fuzzywuzzy

Fuzzy String Matching in Python
http://chairnerd.seatgeek.com/fuzzywuzzy-fuzzy-string-matching-in-python/
GNU General Public License v2.0
9.21k stars 874 forks source link

How can I match same name in english and arabic? #277

Closed imranbaloch closed 3 years ago

imranbaloch commented 4 years ago

I have a requirement to check whether 2 identical names are matching or not. I need to check both Arabic and English. Will this library helps?

acslater00 commented 4 years ago

Definitely an interesting problem. This library probably won't help you natively, but if you can figure out a way to convert arabic names into, perhaps, a phonetic string (maybe this? https://pypi.org/project/arabic-pronunciation/) and then do the same with english, you could probably compare the phonetic strings and get pretty close. Good luck!