Package org.languagetool.rules.spelling
Class VagueSpellChecker
java.lang.Object
org.languagetool.rules.spelling.VagueSpellChecker
A spell checker that's fast but not guaranteed to always agree with the
"real" spell checker used in LT. Doesn't offer corrections.
Can be used for guessing the language of shorts texts where ngram
or AI-based language identification isn't exact enough.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate SpellingCheckRulegetSpellingCheckRule(Language lang) booleanisValidWord(String word, Language lang)
-
Field Details
-
langToRule
-
langToDict
-
-
Constructor Details
-
VagueSpellChecker
public VagueSpellChecker()
-
-
Method Details
-
isValidWord
-
getSpellingCheckRule
-