public class SimpleReplaceRule extends AbstractSimpleReplaceRule
rules/uk/replace.txt.ignoreTaggedWords| Constructor and Description |
|---|
SimpleReplaceRule(ResourceBundle messages,
MorfologikUkrainianSpellerRule morfologikSpellerRule) |
| Modifier and Type | Method and Description |
|---|---|
protected List<RuleMatch> |
findMatches(AnalyzedTokenReadings tokenReadings,
AnalyzedSentence sentence) |
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, loadFromPath, match, setCheckLemmas, setIgnoreTaggedWordsaddExamplePair, estimateContextForSureMatch, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic SimpleReplaceRule(ResourceBundle messages, MorfologikUkrainianSpellerRule morfologikSpellerRule) 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 AbstractSimpleReplaceRuleprotected List<RuleMatch> findMatches(AnalyzedTokenReadings tokenReadings, AnalyzedSentence sentence)
findMatches in class AbstractSimpleReplaceRulepublic boolean isCaseSensitive()
isCaseSensitive in class AbstractSimpleReplaceRule