Package org.languagetool.language
Class Irish
java.lang.Object
org.languagetool.Language
org.languagetool.LanguageWithModel
org.languagetool.language.Irish
- All Implemented Interfaces:
AutoCloseable
- Since:
- 4.9
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates language specific disambiguator.Creates language specific sentence tokenizer.protected SpellingCheckRulecreateDefaultSpellingRule(ResourceBundle messages) Creates language specific part-of-speech synthesizer.Creates language specific part-of-speech tagger.Creates language specific word tokenizer.String[]Get this language's country options , e.g.Languages that have country variants need to overwrite this to select their most common variant.static IrishInformation about whether the support for this language in LanguageTool is actively maintained.Get the name(s) of the maintainer(s) for this language ornull.getName()Get this language's name in English, e.g.protected intReturns a priority for Rule or Category Id (default: 0).getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Get the rules classes that should run for texts in this language.Get this language's character code, e.g.Methods inherited from class org.languagetool.LanguageWithModel
close, getLanguageModel, initLanguageModelMethods inherited from class org.languagetool.Language
adaptSuggestion, adjustMatch, createDefaultChunker, createDefaultJLanguageTool, createDefaultPostDisambiguationChunker, equals, equalsConsiderVariantsIfSpecified, filterRuleMatches, getChunker, getClosingDoubleQuote, getClosingSingleQuote, getCommonWordsPath, getConsistencyRulePrefix, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDefaultRulePriorityForStyle, getDefaultSpellingRule, getDefaultSpellingRule, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getDisambiguator, getIgnoredCharactersRegex, getLocale, getLocaleWithCountryAndVariant, getMultitokenSpeller, getOpeningDoubleQuote, getOpeningSingleQuote, getPatternRules, getPostDisambiguationChunker, getPriorityMap, getRelevantLanguageModelCapableRules, getRelevantLanguageModelRules, getRelevantRemoteRules, getRelevantRulesGlobalConfig, getRemoteEnhancedRules, getRuleFileNames, getRulePriority, getSentenceTokenizer, getShortCodeWithCountryAndVariant, getSynthesizer, getTagger, getTranslatedName, getUnifier, getUnifierConfiguration, getVariant, getWordTokenizer, hashCode, hasMinMatchesRules, hasNGramFalseFriendRule, hasVariant, isAdvancedTypographyEnabled, isExternal, isHiddenFromGui, isSpellcheckOnlyLanguage, isVariant, prepareLineForSpeller, setChunker, setDisambiguator, setPostDisambiguationChunker, setSentenceTokenizer, setSynthesizer, setTagger, setWordTokenizer, toAdvancedTypography, toString
-
Field Details
-
LANGUAGE_SHORT_CODE
- See Also:
-
instantiationTrace
-
-
Constructor Details
-
Irish
public Irish()
-
-
Method Details
-
getName
Description copied from class:LanguageGet this language's name in English, e.g.EnglishorGerman (Germany). -
getCountries
Description copied from class:LanguageGet this language's country options , e.g.US(as inen-US) orPL(as inpl-PL).- Specified by:
getCountriesin classLanguage- Returns:
- String[] - array of country options for the language.
-
getShortCode
Description copied from class:LanguageGet this language's character code, e.g.enfor 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:
getShortCodein classLanguage
-
getDefaultLanguageVariant
Description copied from class:LanguageLanguages that have country variants need to overwrite this to select their most common variant.- Overrides:
getDefaultLanguageVariantin classLanguage- Returns:
- default country variant
-
getMaintainers
Description copied from class:LanguageGet the name(s) of the maintainer(s) for this language ornull.- Specified by:
getMaintainersin classLanguage
-
getRelevantRules
public List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException Description copied from class:LanguageGet the rules classes that should run for texts in this language.- Specified by:
getRelevantRulesin classLanguage- Throws:
IOException
-
createDefaultTagger
Description copied from class:LanguageCreates language specific part-of-speech tagger. The tagger must not benull, but it can be a trivial pseudo-tagger that only assignsnulltags. This function will be called each time inLanguage.getTagger()()} if tagger is not set.- Overrides:
createDefaultTaggerin classLanguage
-
createDefaultSynthesizer
Description copied from class:LanguageCreates language specific part-of-speech synthesizer. This function will be called each time inLanguage.getSynthesizer()if synthesizer is not set.- Overrides:
createDefaultSynthesizerin classLanguage
-
createDefaultSentenceTokenizer
Description copied from class:LanguageCreates language specific sentence tokenizer. This function will be called each time inLanguage.getSentenceTokenizer()if sentence tokenizer is not set.- Overrides:
createDefaultSentenceTokenizerin classLanguage
-
createDefaultDisambiguator
Description copied from class:LanguageCreates language specific disambiguator. This function will be called each time inLanguage.getDisambiguator()if disambiguator is not set.- Overrides:
createDefaultDisambiguatorin classLanguage
-
createDefaultWordTokenizer
Description copied from class:LanguageCreates language specific word tokenizer. This function will be called each time inLanguage.getWordTokenizer()if word tokenizer is not set.- Overrides:
createDefaultWordTokenizerin classLanguage
-
getMaintainedState
Description copied from class:LanguageInformation about whether the support for this language in LanguageTool is actively maintained. If not, the user interface might show a warning.- Overrides:
getMaintainedStatein classLanguage
-
getPriorityForId
Description copied from class:LanguageReturns a priority for Rule or Category Id (default: 0). Positive integers have higher priority. Negative integers have lower priority.- Overrides:
getPriorityForIdin classLanguage
-
createDefaultSpellingRule
@Nullable protected SpellingCheckRule createDefaultSpellingRule(ResourceBundle messages) throws IOException - Overrides:
createDefaultSpellingRulein classLanguage- Throws:
IOException
-
getInstance
-