Package org.languagetool.rules.ru
Class MorfologikRussianSpellerRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.spelling.SpellingCheckRule
org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
org.languagetool.rules.ru.MorfologikRussianSpellerRule
public final class MorfologikRussianSpellerRule
extends org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
static final String
private static final Pattern
Fields inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
conversionLocale, speller1, speller2, speller3
Fields inherited from class org.languagetool.rules.spelling.SpellingCheckRule
ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordListLoader
Fields inherited from class org.languagetool.rules.Rule
messages
-
Constructor Summary
ConstructorsConstructorDescriptionMorfologikRussianSpellerRule
(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages) -
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected boolean
ignoreToken
(org.languagetool.AnalyzedTokenReadings[] tokens, int idx) Methods inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
getDescription, getFrequency, getRuleMatches, ignoreWord, isMisspelled, isMisspelled, isSurrogatePairCombination, match, orderSuggestions, setCheckCompound, setCompoundRegex, setIgnoreTaggedWords, setLocale, tokenizingPattern
Methods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
acceptedInAlternativeLanguage, acceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAdditionalTopSuggestions, getAlternativeLangSpellingRules, getAntiPatterns, getIgnoreFileName, getLanguageVariantSpellingFileName, getProhibitFileName, getSpellingFileName, ignoreWord, init, isDictionaryBasedSpellingRule, isEMail, isProhibited, isUrl, reorderSuggestions, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWord
Methods inherited from class org.languagetool.rules.Rule
addExamplePair, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
RULE_ID
- See Also:
-
RESOURCE_FILENAME
- See Also:
-
RUSSIAN_LETTERS
-
-
Constructor Details
-
MorfologikRussianSpellerRule
public MorfologikRussianSpellerRule(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages) throws IOException - Throws:
IOException
-
-
Method Details
-
getFileName
- Specified by:
getFileName
in classorg.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
getId
- Specified by:
getId
in classorg.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
ignoreToken
protected boolean ignoreToken(org.languagetool.AnalyzedTokenReadings[] tokens, int idx) throws IOException - Overrides:
ignoreToken
in classorg.languagetool.rules.spelling.SpellingCheckRule
- Throws:
IOException
-