public final class MorfologikSouthAfricanSpellerRule extends AbstractEnglishSpellerRule
topSuggestions, topSuggestionsIgnoreCase
conversionLocale, globalConfig, motherTongue, speller1, speller2, speller3
CUSTOM_SPELLING_FILE, GLOBAL_SPELLING_FILE, HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, MAX_TOKEN_LENGTH, wordListLoader, wordsToBeIgnored
Constructor and Description |
---|
MorfologikSouthAfricanSpellerRule(ResourceBundle messages,
Language language,
GlobalConfig globalConfig,
UserConfig userConfig,
List<Language> altLanguages,
LanguageModel languageModel,
Language motherTongue) |
MorfologikSouthAfricanSpellerRule(ResourceBundle messages,
Language language,
UserConfig userConfig,
List<Language> altLanguages) |
Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Get the filename, e.g., /resource/pl/spelling.dict.
|
String |
getId()
A string used to identify the rule in e.g. configuration files.
|
String |
getLanguageVariantSpellingFileName()
Get the name of the spelling file for a language variant (e.g., en-US or de-AT),
which lists words to be accepted and used for suggestions, even when the spell
checker would not accept them.
|
protected org.languagetool.rules.en.VariantInfo |
isValidInOtherVariant(String word) |
filterNoSuggestWords, filterSuggestions, getAdditionalTopSuggestions, getOnlySuggestions, getRuleMatches, getTopSuggestions, getTopSuggestionsIgnoreCase, getTranslator, loadWordlist, match, tokenizeNewWords
getDescription, getSpellingSuggestions, ignoreWord, isEmoji, isMisspelled, isMisspelled, orderSuggestions, setCheckCompound, setCompoundRegex, setIgnoreTaggedWords, setLocale, tokenizingPattern
acceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignorePotentiallyMisspelledWord, ignoreToken, ignoreWord, init, isDictionaryBasedSpellingRule, isEMail, isIgnoredNoCase, isInIgnoredSet, isLatinScript, isProhibited, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWord
addExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasConfigurableValue, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isGoalSpecific, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
public MorfologikSouthAfricanSpellerRule(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages) throws IOException
IOException
public MorfologikSouthAfricanSpellerRule(ResourceBundle messages, Language language, GlobalConfig globalConfig, UserConfig userConfig, List<Language> altLanguages, LanguageModel languageModel, Language motherTongue) throws IOException
IOException
protected org.languagetool.rules.en.VariantInfo isValidInOtherVariant(String word)
isValidInOtherVariant
in class AbstractEnglishSpellerRule
public String getFileName()
MorfologikSpellerRule
getFileName
in class MorfologikSpellerRule
public String getId()
Rule
A-Z
and the underscore.getId
in class MorfologikSpellerRule
public String getLanguageVariantSpellingFileName()
SpellingCheckRule
getLanguageVariantSpellingFileName
in class SpellingCheckRule