Class MorfologikSpeller
java.lang.Object
org.languagetool.rules.spelling.morfologik.MorfologikSpeller
Morfologik-based spell checker.
-
Constructor Summary
ConstructorsConstructorDescriptionMorfologikSpeller(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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the dictionary uses case conversions.intgetFrequency(String word) getSuggestions(String word) booleanisMisspelled(String word) toString()
-
Constructor Details
-
MorfologikSpeller
Creates a speller with the given maximum edit distance.- Parameters:
fileInClassPath- path in classpath to morfologik dictionary
-
MorfologikSpeller
Creates a speller with a maximum edit distance of one.- Parameters:
fileInClassPath- path in classpath to morfologik dictionary- Throws:
IOException
-
-
Method Details