title: Clustering words with Kmeans
body: <p>How do I cluster terms (1-2 words) using Kmeans. I read a research paper where they had used K Means to cluster similar terms using Levenshtein Distance. Please help me by showing a sample code. </p>
  
  <p>Thank you</p>
  
  <p>Note: In the research paper they had computed the similarity matrix using Levenshtein Distance and used it for clustering.</p>
  
  <p><a href="https://ieeexplore.ieee.org/document/7765062/" rel="nofollow noreferrer">https://ieeexplore.ieee.org/document/7765062/</a></p>