public class AustrianGermanSpellerRule extends GermanSpellerRule
RULE_IDFILE_EXTENSION, hunspell, nonWordPatternCUSTOM_SPELLING_FILE, GLOBAL_SPELLING_FILE, HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordsToBeIgnored| Constructor and Description |
|---|
AustrianGermanSpellerRule(ResourceBundle messages,
German language) |
AustrianGermanSpellerRule(ResourceBundle messages,
German language,
UserConfig userConfig,
LanguageModel lm) |
| Modifier and Type | Method and Description |
|---|---|
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 void |
init() |
acceptSuggestion, addIgnoreWords, addProhibitedWords, createWrongSplitMatch, expandLine, filterForLanguage, filterNoSuggestWords, getAdditionalTopSuggestions, getCandidates, getFilteredSuggestions, getOnlySuggestions, getSpeller, getSpellingFilePaths, getSuggestions, ignorePotentiallyMisspelledWord, ignoreWord, isIgnoredNoCase, isMisspelled, isProhibited, isQuotedCompound, match, sortSuggestionByQualitygetCandidates, getStreamsensureInitialized, getActiveChecks, getDescription, getDictFilenameInResources, getSentenceTextWithoutUrlsAndImmunizedTokens, isInIgnoredSet, tokenizeTextacceptPhrases, addIgnoreTokens, addSuggestionsToRuleMatch, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, isDictionaryBasedSpellingRule, isEMail, isLatinScript, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWord, tokenizeNewWordsaddExamplePair, 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, useInOfficepublic AustrianGermanSpellerRule(ResourceBundle messages, German language)
public AustrianGermanSpellerRule(ResourceBundle messages, German language, UserConfig userConfig, LanguageModel lm)
public String getId()
RuleA-Z
and the underscore.getId in class GermanSpellerRuleprotected void init()
throws IOException
init in class GermanSpellerRuleIOExceptionpublic String getLanguageVariantSpellingFileName()
SpellingCheckRulegetLanguageVariantSpellingFileName in class SpellingCheckRule