public class SimpleReplaceRule extends AbstractSimpleReplaceRule
rules/uk/replace.txt.ignoreTaggedWords| Constructor and Description |
|---|
SimpleReplaceRule(ResourceBundle messages) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
String |
getMessage(String tokenStr,
List<String> replacements) |
String |
getShort() |
protected Map<String,List<String>> |
getWrongWords() |
boolean |
isCaseSensitive() |
protected boolean |
isTagged(AnalyzedTokenReadings tokenReadings) |
createRuleMatch, getLocale, isCheckLemmas, load, match, reset, setCheckLemmas, setIgnoreTaggedWordsaddExamplePair, getAntiPatterns, getCategory, getCorrectExamples, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getSentenceWithImmunization, getUrl, isDefaultOff, isDictionaryBasedSpellingRule, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic SimpleReplaceRule(ResourceBundle messages) throws IOException
IOExceptionprotected Map<String,List<String>> getWrongWords()
getWrongWords in class AbstractSimpleReplaceRulepublic 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 AbstractSimpleReplaceRuleprotected boolean isTagged(AnalyzedTokenReadings tokenReadings)
isTagged in class AbstractSimpleReplaceRulepublic boolean isCaseSensitive()
isCaseSensitive in class AbstractSimpleReplaceRule