Package org.languagetool.rules.en
Class MorfologikSouthAfricanSpellerRule
- java.lang.Object
-
- org.languagetool.rules.Rule
-
- org.languagetool.rules.spelling.SpellingCheckRule
-
- org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
- org.languagetool.rules.en.AbstractEnglishSpellerRule
-
- org.languagetool.rules.en.MorfologikSouthAfricanSpellerRule
-
public final class MorfologikSouthAfricanSpellerRule extends AbstractEnglishSpellerRule
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
private static java.lang.String
RESOURCE_FILENAME
-
Fields inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
conversionLocale, speller1, speller2, speller3
-
-
Constructor Summary
Constructors Constructor Description MorfologikSouthAfricanSpellerRule(java.util.ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, java.util.List<org.languagetool.Language> altLanguages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileName()
java.lang.String
getId()
java.lang.String
getLanguageVariantSpellingFileName()
-
Methods inherited from class org.languagetool.rules.en.AbstractEnglishSpellerRule
getAdditionalTopSuggestions, getRuleMatches, isValidInOtherVariant, loadWordlist
-
Methods inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
getDescription, getFrequency, 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, getAlternativeLangSpellingRules, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, 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 Detail
-
RESOURCE_FILENAME
private static final java.lang.String RESOURCE_FILENAME
- See Also:
- Constant Field Values
-
LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
private static final java.lang.String LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MorfologikSouthAfricanSpellerRule
public MorfologikSouthAfricanSpellerRule(java.util.ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, java.util.List<org.languagetool.Language> altLanguages) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName
in classorg.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
getId
public java.lang.String getId()
- Specified by:
getId
in classorg.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
getLanguageVariantSpellingFileName
public java.lang.String getLanguageVariantSpellingFileName()
- Overrides:
getLanguageVariantSpellingFileName
in classorg.languagetool.rules.spelling.SpellingCheckRule
-
-