Algorithm wanted: Find all words of a dictionary that are similar to words in a free text

后端 未结 4 459
迷失自我
迷失自我 2020-12-24 09:39

We have a list of about 150,000 words, and when the user enters a free text, the system should present a list of words from the dictionary, that are very close to words in t

4条回答
  •  爱一瞬间的悲伤
    2020-12-24 09:59

    Take a look at http://norvig.com/spell-correct.html for a simple algorithm. The article uses Python, but there are links to implementations in other languages at the end.

提交回复
热议问题