Live data from Hacker News

How to Write a Spelling Corrector

norvig.com

1–5 of 5 posts

Re: How to Write a Spelling Corrector

#2
> 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.

Re: How to Write a Spelling Corrector

#4
post #2

> 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.

By way of word2vec, or ?

Re: How to Write a Spelling Corrector

#5
post #2

> 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?