title: How to get the similar-sounding words together
body: <p>I am trying to get all the similar sounding words from a list.</p>
  
  <p>I tried to get them using cosine similarity but that does not fulfil my purpose.</p>
  
  <pre><code>from sklearn.metrics.pairwise import cosine_similarity
  dataList = ['two','fourth','forth','dessert','to','desert']
  cosine_similarity(dataList)
  </code></pre>
  
  <p>I know this is not the right approach, I cannot seem to get a result like:</p>
  
  <pre><code>result = ['xx', 'xx', 'yy', 'yy', 'zz', 'zz'] 
  </code></pre>
  
  <p>where they mean that the words which sound similar</p>