Oddbean new post about | logout
 A while back I wanted a spellcheck, and I couldn't find one that gave me the results I wanted (because I use a lot of terminology/jargon that isn't in the dictionary). Someone suggested that I write my own spellcheck program, based on this guide by Peter Norvig, and it's actually worked really well, better than any other spellcheck I've tried  https://norvig.com/spell-correct.html

it looks like this https://gist.github.com/jvns/702a51110d55b99d6c468cde60b45dbb 
 you probably shouldn't use my spellcheck script (it's a bit of a mess) but I feel like the reason this works well is that I put together my own list of "correct" words (based on my own past writing and google n-grams) and it results in a lot fewer false positives 

feels like there must be a "real" spellcheck program out there that has tools to help you automatically assemble your own dictionary of "correct" words based on a corpus of your writing