jSpellCorrect project is a simple statistical spelling corrector.
At moment I don't think there is much documentation necessary. Just download the JAR File and use this code to get started:
import org.gauner.jSpellCorrect.ToySpellingCorrector;
ToySpellingCorrector sc = new ToySpellingCorrector();
// train some data from a text file
sc.trainFile("/tmp/big.txt");
// train a single word
sc.trainSingle("some word");
// get the best suggestion
System.out.println(sc.correct("Cads"));
System.out.println(sc.correct("Dok"));
System.out.println(sc.correct("Speling"));
JavaDoc will be provided later.
What's New in This Release:
· This release contains the application packaged as an OSGi bundle for easy integration into other applications.
Product's homepage