public class DumontsHunspellDictionary extends Object implements HunspellDictionary
| Constructor and Description |
|---|
DumontsHunspellDictionary(Path dictionary,
Path affix) |
public boolean spell(String word)
HunspellDictionaryspell in interface HunspellDictionaryword - the word to checkpublic void add(String word)
HunspellDictionaryadd in interface HunspellDictionaryword - the word to addpublic List<String> suggest(String word)
HunspellDictionarysuggest in interface HunspellDictionaryword - the word to get suggestions forpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException