Class SwissGermanSpellerRule


public class SwissGermanSpellerRule extends GermanSpellerRule
Since:
3.9
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Description copied from class: Rule
      A 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 characters A-Z and the underscore.
      Overrides:
      getId in class GermanSpellerRule
    • init

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

      public String getLanguageVariantSpellingFileName()
      Description copied from class: SpellingCheckRule
      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.
      Overrides:
      getLanguageVariantSpellingFileName in class SpellingCheckRule