Package org.languagetool.language
Class ValencianCatalan
java.lang.Object
org.languagetool.Language
org.languagetool.language.Catalan
org.languagetool.language.ValencianCatalan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates language specific part-of-speech synthesizer.Creates language specific part-of-speech tagger.String[]Get this language's country options , e.g.Get disabled rules different from the default ones for this language variant.Get enabled rules different from the default ones for this language variant.static ValencianCatalangetName()Get this language's name in English, e.g.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 variant, e.g.Methods inherited from class org.languagetool.language.Catalan
adaptSuggestion, createDefaultDisambiguator, createDefaultSentenceTokenizer, createDefaultSpellingRule, createDefaultWordTokenizer, filterRuleMatches, getClosingDoubleQuote, getClosingSingleQuote, getDefaultLanguageVariant, getDefaultRulePriorityForStyle, getMaintainedState, getMaintainers, getMultitokenSpeller, getOpeningDoubleQuote, getOpeningSingleQuote, getPriorityForId, getShortCode, hasMinMatchesRules, isAdvancedTypographyEnabled, prepareLineForSpeller, toAdvancedTypographyMethods inherited from class org.languagetool.Language
adjustMatch, createDefaultChunker, createDefaultJLanguageTool, createDefaultPostDisambiguationChunker, equals, equalsConsiderVariantsIfSpecified, getChunker, getCommonWordsPath, getConsistencyRulePrefix, getDefaultSpellingRule, getDefaultSpellingRule, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getDisambiguator, getIgnoredCharactersRegex, getLanguageModel, getLocale, getLocaleWithCountryAndVariant, getPatternRules, getPostDisambiguationChunker, getPriorityMap, getRelevantLanguageModelCapableRules, getRelevantLanguageModelRules, getRelevantRemoteRules, getRelevantRulesGlobalConfig, getRemoteEnhancedRules, getRuleFileNames, getRulePriority, getSentenceTokenizer, getShortCodeWithCountryAndVariant, getSynthesizer, getTagger, getTranslatedName, getUnifier, getUnifierConfiguration, getWordTokenizer, hashCode, hasNGramFalseFriendRule, hasVariant, isExternal, isHiddenFromGui, isSpellcheckOnlyLanguage, isVariant, setChunker, setDisambiguator, setPostDisambiguationChunker, setSentenceTokenizer, setSynthesizer, setTagger, setWordTokenizer, toString
-
Field Details
-
LANGUAGE_SHORT_CODE
- See Also:
-
instantiationTraceValecian
-
-
Constructor Details
-
ValencianCatalan
public ValencianCatalan()
-
-
Method Details
-
getInstance
-
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).- Overrides:
getCountriesin classCatalan- Returns:
- String[] - array of country options for the language.
-
getVariant
Description copied from class:LanguageGet this language's variant, e.g.valencia(as inca-ES-valencia) ornull. Attention: not to be confused with "country" option- Overrides:
getVariantin classLanguage- Returns:
- variant for the language or
null
-
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 classCatalan
-
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 classCatalan
-
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.- Overrides:
getRelevantRulesin classCatalan- Throws:
IOException
-
getDefaultEnabledRulesForVariant
Description copied from class:LanguageGet enabled rules different from the default ones for this language variant.- Overrides:
getDefaultEnabledRulesForVariantin classLanguage- Returns:
- enabled rules for the language variant.
-
getDefaultDisabledRulesForVariant
Description copied from class:LanguageGet disabled rules different from the default ones for this language variant.- Overrides:
getDefaultDisabledRulesForVariantin classLanguage- Returns:
- disabled rules for the language variant.
-