javapoint.spellcheck
Class SpellCheckerManager

java.lang.Object
  extended by javapoint.spellcheck.SpellCheckerManager

public class SpellCheckerManager
extends java.lang.Object


Constructor Summary
SpellCheckerManager(java.io.File dictionaryFile)
           
 
Method Summary
 void addToDictionary(java.lang.String newWord)
           
 java.util.List<?> getSuggestions(java.lang.String word, int threshold)
           
 boolean isCorrect(java.lang.String word)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpellCheckerManager

public SpellCheckerManager(java.io.File dictionaryFile)
Method Detail

getSuggestions

public final java.util.List<?> getSuggestions(java.lang.String word,
                                              int threshold)

isCorrect

public final boolean isCorrect(java.lang.String word)

addToDictionary

public final void addToDictionary(java.lang.String newWord)