Package org.omegat.core.spellchecker
Interface ISpellCheckerProvider
-
- All Known Implementing Classes:
SpellCheckerDummy,SpellCheckerJMySpell,SpellCheckerLangToolHunspell
public interface ISpellCheckerProviderInterface for spell checker implementation. Instance loaded on each new project open.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()Destroy checker.booleanisCorrect(java.lang.String word)Check is word correct.voidlearnWord(java.lang.String word)Add a word to the list of correct wordsjava.util.List<java.lang.String>suggest(java.lang.String word)return a list of strings as suggestions
-
-
-
Method Detail
-
isCorrect
boolean isCorrect(java.lang.String word)
Check is word correct.
-
suggest
java.util.List<java.lang.String> suggest(java.lang.String word)
return a list of strings as suggestions
-
learnWord
void learnWord(java.lang.String word)
Add a word to the list of correct words
-
destroy
void destroy()
Destroy checker.
-
-