Package org.languagetool.rules.de
Class AustrianGermanSpellerRule
- Since:
- 3.9
-
Nested Class Summary
Nested classes/interfaces inherited from class org.languagetool.rules.de.GermanSpellerRule
GermanSpellerRule.ExpandingReader -
Field Summary
FieldsFields inherited from class org.languagetool.rules.de.GermanSpellerRule
RULE_IDFields inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
FILE_EXTENSION, hunspell, nonWordPatternFields inherited from class org.languagetool.rules.spelling.SpellingCheckRule
CUSTOM_SPELLING_FILE, GLOBAL_SPELLING_FILE, HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordsToBeIgnored -
Constructor Summary
ConstructorsConstructorDescriptionAustrianGermanSpellerRule(ResourceBundle messages, German language) AustrianGermanSpellerRule(ResourceBundle messages, German language, UserConfig userConfig, LanguageModel lm) -
Method Summary
Modifier and TypeMethodDescriptiongetId()A string used to identify the rule in e.g.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 voidinit()Methods inherited from class org.languagetool.rules.de.GermanSpellerRule
acceptSuggestion, addIgnoreWords, addProhibitedWords, createWrongSplitMatch, expandLine, filterForLanguage, filterNoSuggestWords, getAdditionalTopSuggestions, getCandidates, getFilteredSuggestions, getMessage, getOnlySuggestions, getSpeller, getSpellingFilePaths, getSuggestions, ignorePotentiallyMisspelledWord, ignoreWord, isIgnoredNoCase, isMisspelled, isProhibited, isQuotedCompound, match, processThreePartCompound, sortSuggestionByQualityMethods inherited from class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
getCandidates, getStreamsMethods inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
ensureInitialized, getActiveChecks, getDescription, getDictFilenameInResources, getSentenceTextWithoutUrlsAndImmunizedTokens, getShortMessage, isInIgnoredSet, tokenizeTextMethods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
acceptPhrases, addIgnoreTokens, addSuggestionsToRuleMatch, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, isDictionaryBasedSpellingRule, isEMail, isLatinScript, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWord, tokenizeNewWordsMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isGoalSpecific, isIncludedInHiddenMatches, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncludedInHiddenMatches, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setPriority, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
wordListLoader
-
LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
- See Also:
-
-
Constructor Details
-
AustrianGermanSpellerRule
-
AustrianGermanSpellerRule
public AustrianGermanSpellerRule(ResourceBundle messages, German language, UserConfig userConfig, LanguageModel lm) - Since:
- 4.2
-
-
Method Details
-
getId
Description copied from class:RuleA string used to identify the rule in e.g. configuration files. This string is supposed to be unique and to stay the same in all upcoming versions of LanguageTool. It's supposed to contain only the charactersA-Zand the underscore.- Overrides:
getIdin classGermanSpellerRule
-
init
- Overrides:
initin classGermanSpellerRule- Throws:
IOException
-
getLanguageVariantSpellingFileName
Description copied from class:SpellingCheckRuleGet 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.- Overrides:
getLanguageVariantSpellingFileNamein classSpellingCheckRule
-