user1590499
user1590499

Reputation: 993

How to Implement Phonetic Algorithm in Python on Names with Multiple Words

I've read a bunch of posts such as:

And I've gone through and found the double metaphone code.

But the double metaphone algorithm returns a tuple for a given string, assuming that the string is a single word. Does anyone know of a phonetic algorithm that would work on multiple words in the same name? If not, is the best idea simply to write a script to count the word count for each word in this column and then run double metaphone on the word in a cell that occurs most frequently in my dataset?

Upvotes: 3

Views: 3515

Answers (1)

lawrence philips
lawrence philips

Reputation: 198

actually, it isn't true that metaphone or double metaphone are designed to work only with proper names and not with "dictionary words". metaphone, double metaphone, and metaphone 3 were all designed to work with both names and words, and developed against databases containing both

Upvotes: 4

Related Questions