title: How to Implement Phonetic Algorithm in Python on Names with Multiple Words
body: <p>I've read a bunch of posts such as:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/42013/levenshtein-distance-based-methods-vs-soundex">Levenshtein distance based methods Vs Soundex</a></li>
  <li><a href="https://stackoverflow.com/questions/41970/lightweight-fuzzy-search-library#41975">Lightweight fuzzy search library</a></li>
  </ul>
  
  <p>And I've gone through and found the <a href="https://github.com/dracos/double-metaphone/blob/master/metaphone.py" rel="nofollow noreferrer">double metaphone code</a>.</p>
  
  <p>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?</p>