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.
https://news.ycombinator.com/item?id=16918757
https://news.ycombinator.com/item?id=12453535
https://news.ycombinator.com/item?id=8749518
https://news.ycombinator.com/item?id=7487341