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

Does this work if you want to look up multiple words and grade them?

For example if the input query is "ello" and there is a dict.txt with millions of entries, it should output the words that are closest to the query: "hell", "hello", "fellowship", "mellow" and their respective matching scores (e.g 0.8, 0.9, 0.3, 0.7 respectively). The scores are just random numbers in this case.

(edited for clarity)



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

Search: