Package org.languagetool.rules.de
Class AustrianGermanSpellerRule
- java.lang.Object
-
- org.languagetool.rules.Rule
-
- org.languagetool.rules.spelling.SpellingCheckRule
-
- org.languagetool.rules.spelling.hunspell.HunspellRule
-
- org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
-
- org.languagetool.rules.de.GermanSpellerRule
-
- org.languagetool.rules.de.AustrianGermanSpellerRule
-
public class AustrianGermanSpellerRule extends GermanSpellerRule
- Since:
- 3.9
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.languagetool.rules.de.GermanSpellerRule
GermanSpellerRule.ExpandingReader
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringLANGUAGE_SPECIFIC_PLAIN_TEXT_DICTprivate org.languagetool.rules.spelling.CachingWordListLoaderwordListLoader-
Fields inherited from class org.languagetool.rules.de.GermanSpellerRule
RULE_ID
-
Fields inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
FILE_EXTENSION, hunspellDict, needsInit, nonWordPattern, suggestionsOrderer
-
-
Constructor Summary
Constructors Constructor Description AustrianGermanSpellerRule(java.util.ResourceBundle messages, German language)AustrianGermanSpellerRule(java.util.ResourceBundle messages, German language, org.languagetool.UserConfig userConfig, org.languagetool.languagemodel.LanguageModel lm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()java.lang.StringgetLanguageVariantSpellingFileName()protected voidinit()-
Methods inherited from class org.languagetool.rules.de.GermanSpellerRule
addIgnoreWords, addProhibitedWords, expandLine, filterForLanguage, getAdditionalTopSuggestions, getCandidates, getFilteredSuggestions, getSuggestions, ignoreWord, isAcceptedWordFromLanguage, isMisspelled, isProhibited, isQuotedCompound, sortSuggestionByQuality
-
Methods inherited from class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
getCandidates
-
Methods inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
getActiveChecks, getDescription, getDictFilenameInResources, getSentenceTextWithoutUrlsAndImmunizedTokens, match, tokenizeText
-
Methods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
acceptedInAlternativeLanguage, acceptPhrases, addIgnoreTokens, addSuggestionsToRuleMatch, createWrongSplitMatch, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAlternativeLangSpellingRules, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, isDictionaryBasedSpellingRule, isEMail, 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
-
wordListLoader
private final org.languagetool.rules.spelling.CachingWordListLoader wordListLoader
-
LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
private static final java.lang.String LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AustrianGermanSpellerRule
public AustrianGermanSpellerRule(java.util.ResourceBundle messages, German language)
-
AustrianGermanSpellerRule
public AustrianGermanSpellerRule(java.util.ResourceBundle messages, German language, org.languagetool.UserConfig userConfig, org.languagetool.languagemodel.LanguageModel lm)- Since:
- 4.2
-
-
Method Detail
-
getId
public java.lang.String getId()
- Overrides:
getIdin classGermanSpellerRule
-
init
protected void init() throws java.io.IOException- Overrides:
initin classGermanSpellerRule- Throws:
java.io.IOException
-
getLanguageVariantSpellingFileName
public java.lang.String getLanguageVariantSpellingFileName()
- Overrides:
getLanguageVariantSpellingFileNamein classorg.languagetool.rules.spelling.SpellingCheckRule
-
-