public class PortugueseOrthographyReplaceRule extends AbstractSimpleReplaceRule
| Modifier and Type | Field and Description |
|---|---|
static String |
PORTUGUESE_SIMPLE_REPLACE_ORTHOGRAPHY_RULE |
ignoreTaggedWords, subRuleSpecificIds| Constructor and Description |
|---|
PortugueseOrthographyReplaceRule(ResourceBundle messages,
Language language) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
Locale |
getLocale() |
String |
getMessage(String token,
List<String> replacements) |
String |
getShort() |
Map<String,List<String>> |
getWrongWords() |
boolean |
isCaseSensitive() |
createRuleMatch, findMatches, getSynthesizer, isCheckLemmas, isTagged, isTokenException, loadFromPath, loadFromPath, match, setCheckLemmas, setIgnoreTaggedWords, useSubRuleSpecificIdsaddExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isIncludedInHiddenMatches, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncludedInHiddenMatches, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setPriority, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final String PORTUGUESE_SIMPLE_REPLACE_ORTHOGRAPHY_RULE
public PortugueseOrthographyReplaceRule(ResourceBundle messages, Language language)
public Map<String,List<String>> getWrongWords()
getWrongWords in class AbstractSimpleReplaceRulepublic String getId()
getId in class AbstractSimpleReplaceRulepublic boolean isCaseSensitive()
isCaseSensitive in class AbstractSimpleReplaceRulepublic Locale getLocale()
getLocale in class AbstractSimpleReplaceRulepublic String getDescription()
getDescription in class AbstractSimpleReplaceRulepublic String getShort()
getShort in class AbstractSimpleReplaceRulepublic String getMessage(String token, List<String> replacements)
getMessage in class AbstractSimpleReplaceRule