public class SimpleReplaceDNVColloquialRule extends AbstractSimpleReplaceLemmasRule
rules/ca/replace_dnv_colloquial.txt.wrongLemmasignoreTaggedWords, subRuleSpecificIds| Constructor and Description |
|---|
SimpleReplaceDNVColloquialRule(ResourceBundle messages,
Language language) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
String |
getMessage(String tokenStr,
List<String> replacements) |
String |
getShort() |
getLocale, getWrongWords, isCaseSensitive, matchcreateRuleMatch, findMatches, getSynthesizer, isCheckLemmas, isTagged, isTokenException, loadFromPath, loadFromPath, 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 SimpleReplaceDNVColloquialRule(ResourceBundle messages, Language language) throws IOException
IOExceptionpublic final String getId()
getId in class AbstractSimpleReplaceRulepublic String getDescription()
getDescription in class AbstractSimpleReplaceRulepublic String getShort()
getShort in class AbstractSimpleReplaceRulepublic String getMessage(String tokenStr, List<String> replacements)
getMessage in class AbstractSimpleReplaceRule