public class BrazilianPortuguese extends Portuguese
Constructor and Description |
---|
BrazilianPortuguese() |
Modifier and Type | Method and Description |
---|---|
protected SpellingCheckRule |
createDefaultSpellingRule(ResourceBundle messages) |
String[] |
getCountries()
Get this language's country options , e.g.
|
String |
getName()
Get this language's name in English, e.g.
|
List<Rule> |
getRelevantRules(ResourceBundle messages,
UserConfig userConfig,
Language motherTongue,
List<Language> altLanguages)
Get the rules classes that should run for texts in this language.
|
close, createDefaultDisambiguator, createDefaultSentenceTokenizer, createDefaultSynthesizer, createDefaultTagger, createDefaultWordTokenizer, getClosingDoubleQuote, getClosingSingleQuote, getDefaultLanguageVariant, getLanguageModel, getMaintainedState, getMaintainers, getOpeningDoubleQuote, getOpeningSingleQuote, getPriorityForId, getRelevantLanguageModelRules, getShortCode, isAdvancedTypographyEnabled
adaptSuggestion, adaptSuggestions, adjustMatch, createDefaultChunker, createDefaultJLanguageTool, createDefaultPostDisambiguationChunker, equals, equalsConsiderVariantsIfSpecified, getChunker, getCommonWordsPath, getConsistencyRulePrefix, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDefaultSpellingRule, getDefaultSpellingRule, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getDisambiguator, getIgnoredCharactersRegex, getLocale, getLocaleWithCountryAndVariant, getPatternRules, getPostDisambiguationChunker, getRelevantLanguageModelCapableRules, getRelevantRemoteRules, getRelevantRulesGlobalConfig, getRemoteEnhancedRules, getRuleFileNames, getRulePriority, getSentenceTokenizer, getShortCodeWithCountryAndVariant, getSynthesizer, getTagger, getTranslatedName, getUnifier, getUnifierConfiguration, getVariant, getWordTokenizer, hashCode, hasMinMatchesRules, hasNGramFalseFriendRule, hasVariant, initLanguageModel, isExternal, isHiddenFromGui, isSpellcheckOnlyLanguage, isVariant, mergeSuggestions, setChunker, setDisambiguator, setPostDisambiguationChunker, setSentenceTokenizer, setSynthesizer, setTagger, setWordTokenizer, toAdvancedTypography, toString
public String getName()
Language
English
or
German (Germany)
.getName
in class Portuguese
public List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException
Language
getRelevantRules
in class Portuguese
IOException
public String[] getCountries()
Language
US
(as in en-US
) or
PL
(as in pl-PL
).getCountries
in class Portuguese
@Nullable protected SpellingCheckRule createDefaultSpellingRule(ResourceBundle messages)
createDefaultSpellingRule
in class Language