public interface HunspellDictionary extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
add(String word)
Add word to the run-time dictionary
|
boolean |
isClosed()
Indicate resource is closed.
|
boolean |
spell(String word)
Spellcheck the word
|
List<String> |
suggest(String word)
Search suggestions for the word
|
boolean spell(String word)
word
- the word to checkvoid add(String word)
word
- the word to addList<String> suggest(String word)
word
- the word to get suggestions forboolean isClosed()