public class MorfologikSpeller extends Object
| Constructor and Description |
|---|
MorfologikSpeller(String fileInClassPath)
Creates a speller with a maximum edit distance of one.
|
MorfologikSpeller(String fileInClassPath,
int maxEditDistance)
Creates a speller with the given maximum edit distance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
convertsCase()
Determines whether the dictionary uses case conversions.
|
List<String> |
getSuggestions(String word) |
boolean |
isMisspelled(String word) |
public MorfologikSpeller(String fileInClassPath, int maxEditDistance) throws IOException
fileInClassPath - path in classpath to morfologik dictionaryIOExceptionpublic MorfologikSpeller(String fileInClassPath) throws IOException
fileInClassPath - path in classpath to morfologik dictionaryIOException