Class MorfologikBretonSpellerRule


public final class MorfologikBretonSpellerRule extends MorfologikSpellerRule
  • Field Details

    • RESOURCE_FILENAME

      private static final String RESOURCE_FILENAME
      See Also:
    • BRETON_TOKENIZING_CHARS

      private static final Pattern BRETON_TOKENIZING_CHARS
  • Constructor Details

  • Method Details

    • getFileName

      public String getFileName()
      Description copied from class: MorfologikSpellerRule
      Get the filename, e.g., /resource/pl/spelling.dict.
      Specified by:
      getFileName in class MorfologikSpellerRule
    • 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.
      Specified by:
      getId in class MorfologikSpellerRule
    • tokenizingPattern

      public Pattern tokenizingPattern()
      Description copied from class: MorfologikSpellerRule
      Get the regular expression pattern used to tokenize the words as in the source dictionary. For example, it may contain a hyphen, if the words with hyphens are not included in the dictionary
      Overrides:
      tokenizingPattern in class MorfologikSpellerRule
      Returns:
      A compiled Pattern that is used to tokenize words or null.