Grouping/clustering similar words python

I have a question regarding grouping of similar words for example I have list of words give below:

  1. artificialintelligence
  2. Artificial Intelligence
  3. AI
  4. Machine Learning
  5. ML
  6. Data Analytics
  7. Data Analytics

I want to group these words into [Artificial intelligence, machine Learning, Data Analytics]

I have used difflib.get_close_matches() but that does not give me desired result For example this is how difflib group: Information Technology': ['Information Technology','Mobile Technology', 'newtechnology']

I have also used fuzz.token_set_ratio() but that also does not provide me the desired result. Neither Levenshtein does.

If there is any Machine learning algorithm or any python library please let me know.

Thank you

Topic python clustering

Category Data Science


You won't be able to just solve this with an algorithm.

Instead you will need to solve this more data, about language and abbreviations. This is also known as world models background data etc.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.