Python Forum
Phonetics - Air vs Heir not matching?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Phonetics - Air vs Heir not matching?
#1
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()
Reply
#2
maybe look at https://stackabuse.com/phonetic-similari...in-python/
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020