Python Forum

Full Version: Phonetics - Air vs Heir not matching?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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()