public class SimpleReplaceSpelling1992Rule extends AbstractSimpleReplaceRule
rules/uk/replace_spelling_2019.txt.ignoreTaggedWords, subRuleSpecificIds| Constructor and Description |
|---|
SimpleReplaceSpelling1992Rule(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() |
RuleMatch[] |
match(AnalyzedSentence sentence) |
createRuleMatch, findMatches, getLocale, getSynthesizer, isCheckLemmas, isTagged, isTokenException, loadFromPath, loadFromPath, setCheckLemmas, setIgnoreTaggedWords, useSubRuleSpecificIdsaddExamplePair, addTags, cacheAntiPatterns, estimateContextForSureMatch, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getMinPrevMatches, getSentenceWithImmunization, getTags, getUrl, hasConfigurableValue, hasTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setExamplePair, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic SimpleReplaceSpelling1992Rule(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 RuleMatch[] match(AnalyzedSentence sentence) throws IOException
match in class AbstractSimpleReplaceRuleIOExceptionpublic String getMessage(String tokenStr, List<String> replacements)
getMessage in class AbstractSimpleReplaceRulepublic boolean isCaseSensitive()
isCaseSensitive in class AbstractSimpleReplaceRule