Fast and Easy Levenshtein distance using a Trie

<img src="http://stevehanov.ca/blog/images/acer.jpg"/>
If you have a web site with a search function, you will rapidly realize that most mortals are terrible typists. Many searches contain mispelled words, and users will expect these searches to magically work. This magic is often done using levenshtein distance. In this article, I'll compare two ways of finding the closest matching word in a large dictionary. I'll describe how I use it on rhymebrain.com
87 points by sebg 192 days ago stevehanov.ca 16 comments
Summary not yet generated for this article.

Comments (16 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open