I’m working on a Google App Engine program that will require some basic spell checking features. Normally iSpell or it’s cousins would be options, but I’m not sure that will work in GEA. Are there other strategies/tools that would work in that environment?
Share
A very minimal, pure-Python spell checker can be found here: http://norvig.com/spell-correct.html
The
big.txtfile Norvig uses to train his spell checker is too large to upload to App Engine at 6.2 megabytes, but theNWORDSdict that results from training is only ~650K when pickled. So one solution might be to pre-train the spell checker, pickle the results and include the pickled training data in your application.This spell checker might not be good enough for your needs, and the way I’ve proposed you integrate it into your app might be an absolutely terrible idea. I’m really not sure. Might be interesting to try, though.