public class SimpleReplaceAnglicism extends AbstractSimpleReplaceRule2
Loads the relevant words from rules/ca/replace_anglicism.txt.
AbstractSimpleReplaceRule2.CaseSensitivylanguage, subRuleSpecificIds| Constructor and Description |
|---|
SimpleReplaceAnglicism(ResourceBundle messages) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
List<String> |
getFileNames() |
String |
getId() |
Locale |
getLocale() |
String |
getMessage() |
String |
getShort() |
protected boolean |
isRuleMatchException(RuleMatch ruleMatch) |
protected boolean |
isTokenException(AnalyzedTokenReadings atr) |
checkKeyWordsAreKnownToSpeller, checkKeyWordsAreUnknownToSpeller, getCaseSensitivy, getDescription, getFilePaths, getSuggestionsSeparator, getWrongWords, isCheckingCase, isException, isIgnoreShortUppercaseWords, isPunctuationStart, match, separateKeyWordsBySpeller, setIgnoreShortUppercaseWords, setRuleHasSuggestions, 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 SimpleReplaceAnglicism(ResourceBundle messages) throws IOException
IOExceptionpublic final String getId()
getId in class AbstractSimpleReplaceRule2public String getDescription()
getDescription in class AbstractSimpleReplaceRule2public String getShort()
getShort in class AbstractSimpleReplaceRule2public Locale getLocale()
getLocale in class AbstractSimpleReplaceRule2public List<String> getFileNames()
getFileNames in class AbstractSimpleReplaceRule2public String getMessage()
getMessage in class AbstractSimpleReplaceRule2protected boolean isRuleMatchException(RuleMatch ruleMatch)
isRuleMatchException in class AbstractSimpleReplaceRule2protected boolean isTokenException(AnalyzedTokenReadings atr)
isTokenException in class AbstractSimpleReplaceRule2