Phonetics - Air vs Heir not matching? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Phonetics - Air vs Heir not matching? (/thread-26829.html) |
Phonetics - Air vs Heir not matching? - william101 - May-15-2020 Good day I am trying to use phonetics library to compare two words. The words are "Air" and "Heir" However, they apparently do not match - even though they are pronounced the same? FALSE (A600;H600) FALSE (A;HA) FALSE (AR;;HR;) These are the three methods I am trying to use: Where left = "Air" and right = "Heir" Soundex().phonetics() phonetics.nysiis() phonetics.dmetaphone() RE: Phonetics - Air vs Heir not matching? - buran - May-15-2020 maybe look at https://stackabuse.com/phonetic-similarity-of-words-a-vectorized-approach-in-python/ |