Oddbean new post about | logout
 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 
 @e06c1f25 Nice, I love making one's own specific tool for things like this 😊
Question based on the gist though - shouldn’t `P` be dividing the looked-up value by `N`? I guess it doesn't actually matter here, since the denominator is always the same though…but in that case, that `N` parameter can just be removed? 
 @c302c2e0 honestly i haven’t looked at that code in like a year and i have no idea what it’s doing, all i know is it works pretty well