Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is a variety of approximate string matching algorithms that speed up search by using an index. https://arxiv.org/abs/1008.1191 is one that should be fairly easy to implement. Levenshtein automata are another approach that makes the rounds on HN every now and then, but are a tough beast to implement and I wouldn't really recommend them in practice.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: