Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to Write a Spelling Corrector (norvig.com)
16 points by sprt on Dec 26, 2019 | hide | past | favorite | 4 comments



> We need a lot of data to do this well.

Yup. And once you've got a sufficiently large tagged error corpus, spelling correction will be as simple as a lookup: almost all misspellings (in terms of frequency) will be present in the corpus, and you can drop the (rather simplistic) algorithmic part.


But what about “they’re”, “there”, and “their”? And other homonyms people frequently misspell?


By way of word2vec, or ?




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

Search: