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 final String
     
    private final org.languagetool.rules.spelling.CachingWordListLoader
     

    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

    Fields inherited from class org.languagetool.rules.spelling.SpellingCheckRule

    ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER

    Fields inherited from class org.languagetool.rules.Rule

    messages
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    AustrianGermanSpellerRule(ResourceBundle messages, German language, org.languagetool.UserConfig userConfig, org.languagetool.languagemodel.LanguageModel lm)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • wordListLoader

      private final org.languagetool.rules.spelling.CachingWordListLoader wordListLoader
    • LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT

      private static final String LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
      See Also:
  • Constructor Details

    • AustrianGermanSpellerRule

      public AustrianGermanSpellerRule(ResourceBundle messages, German language)
    • AustrianGermanSpellerRule

      public AustrianGermanSpellerRule(ResourceBundle messages, German language, org.languagetool.UserConfig userConfig, org.languagetool.languagemodel.LanguageModel lm)
      Since:
      4.2
  • Method Details

    • getId

      public String getId()
      Overrides:
      getId in class GermanSpellerRule
    • init

      protected void init() throws IOException
      Overrides:
      init in class GermanSpellerRule
      Throws:
      IOException
    • getLanguageVariantSpellingFileName

      public String getLanguageVariantSpellingFileName()
      Overrides:
      getLanguageVariantSpellingFileName in class org.languagetool.rules.spelling.SpellingCheckRule