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