| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String word)
Add a word to dictionary
|
List<String> |
analyze(String word)
Returns a list of analyses
|
void |
destroy()
Deallocate the dictionary.
|
protected void |
finalize() |
boolean |
misspelled(String word)
Check if a word is spelled correctly
|
boolean |
remove(String word)
Remove a word from dictionary
|
List<String> |
stem(String word)
Returns a list of stems
|
List<String> |
suggest(String word)
Returns a list of suggestions
|
protected void finalize()
throws Throwable
public void destroy()
public boolean misspelled(String word)
word - The word to check.public boolean add(String word)
word - The word to addpublic boolean remove(String word)
word - The word to removepublic List<String> suggest(String word)
word - The word to check and offer suggestions forpublic List<String> analyze(String word)
word - The word to analyzeCopyright © 2019. All rights reserved.