Class Irish

All Implemented Interfaces:
AutoCloseable

public class Irish extends LanguageWithModel
Since:
4.9
  • Field Details

  • Constructor Details

    • Irish

      public Irish()
  • Method Details

    • getName

      public String getName()
      Description copied from class: Language
      Get this language's name in English, e.g. English or German (Germany).
      Specified by:
      getName in class Language
      Returns:
      language name
    • getCountries

      public String[] getCountries()
      Description copied from class: Language
      Get this language's country options , e.g. US (as in en-US) or PL (as in pl-PL).
      Specified by:
      getCountries in class Language
      Returns:
      String[] - array of country options for the language.
    • getShortCode

      public String getShortCode()
      Description copied from class: Language
      Get this language's character code, e.g. en for English. For most languages this is a two-letter code according to ISO 639-1, but for those languages that don't have a two-letter code, a three-letter code according to ISO 639-2 is returned. The country parameter (e.g. "US"), if any, is not returned.
      Specified by:
      getShortCode in class Language
    • getDefaultLanguageVariant

      @NotNull public Language getDefaultLanguageVariant()
      Description copied from class: Language
      Languages that have country variants need to overwrite this to select their most common variant.
      Overrides:
      getDefaultLanguageVariant in class Language
      Returns:
      default country variant
    • getMaintainers

      public Contributor[] getMaintainers()
      Description copied from class: Language
      Get the name(s) of the maintainer(s) for this language or null.
      Specified by:
      getMaintainers in class Language
    • getRelevantRules

      public List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException
      Description copied from class: Language
      Get the rules classes that should run for texts in this language.
      Specified by:
      getRelevantRules in class Language
      Throws:
      IOException
    • createDefaultTagger

      @NotNull public Tagger createDefaultTagger()
      Description copied from class: Language
      Creates language specific part-of-speech tagger. The tagger must not be null, but it can be a trivial pseudo-tagger that only assigns null tags. This function will be called each time in Language.getTagger() ()} if tagger is not set.
      Overrides:
      createDefaultTagger in class Language
    • createDefaultSynthesizer

      @Nullable public Synthesizer createDefaultSynthesizer()
      Description copied from class: Language
      Creates language specific part-of-speech synthesizer. This function will be called each time in Language.getSynthesizer() if synthesizer is not set.
      Overrides:
      createDefaultSynthesizer in class Language
    • createDefaultSentenceTokenizer

      public SentenceTokenizer createDefaultSentenceTokenizer()
      Description copied from class: Language
      Creates language specific sentence tokenizer. This function will be called each time in Language.getSentenceTokenizer() if sentence tokenizer is not set.
      Overrides:
      createDefaultSentenceTokenizer in class Language
    • createDefaultDisambiguator

      public Disambiguator createDefaultDisambiguator()
      Description copied from class: Language
      Creates language specific disambiguator. This function will be called each time in Language.getDisambiguator() if disambiguator is not set.
      Overrides:
      createDefaultDisambiguator in class Language
    • createDefaultWordTokenizer

      public Tokenizer createDefaultWordTokenizer()
      Description copied from class: Language
      Creates language specific word tokenizer. This function will be called each time in Language.getWordTokenizer() if word tokenizer is not set.
      Overrides:
      createDefaultWordTokenizer in class Language
    • getMaintainedState

      public LanguageMaintainedState getMaintainedState()
      Description copied from class: Language
      Information about whether the support for this language in LanguageTool is actively maintained. If not, the user interface might show a warning.
      Overrides:
      getMaintainedState in class Language
    • getPriorityForId

      protected int getPriorityForId(String id)
      Description copied from class: Language
      Returns a priority for Rule or Category Id (default: 0). Positive integers have higher priority. Negative integers have lower priority.
      Overrides:
      getPriorityForId in class Language
    • createDefaultSpellingRule

      @Nullable protected SpellingCheckRule createDefaultSpellingRule(ResourceBundle messages) throws IOException
      Overrides:
      createDefaultSpellingRule in class Language
      Throws:
      IOException
    • getInstance

      @NotNull public static Irish getInstance()