public class SimpleReplaceAnglicism extends AbstractSimpleReplaceRule2
rules/ca/replace_anglicism.txt.AbstractSimpleReplaceRule2.CaseSensitivysubRuleSpecificIds| Constructor and Description |
|---|
SimpleReplaceAnglicism(ResourceBundle messages) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
A short description of the error this rule can detect, usually in the language of the text
that is checked.
|
List<String> |
getFileNames() |
String |
getId()
A string used to identify the rule in e.g. configuration files.
|
Locale |
getLocale()
locale used on case-conversion
|
String |
getMessage() |
String |
getShort() |
protected boolean |
isTokenException(AnalyzedTokenReadings atr) |
addToQueue, checkKeyWordsAreKnownToSpeller, checkKeyWordsAreUnknownToSpeller, getCaseSensitivy, getDescription, getFilePaths, getSuggestionsSeparator, getWrongWords, isException, match, separateKeyWordsBySpeller, useSubRuleSpecificIdsaddExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasConfigurableValue, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic SimpleReplaceAnglicism(ResourceBundle messages) throws IOException
IOExceptionpublic final String getId()
RuleA-Z
and the underscore.getId in class AbstractSimpleReplaceRule2public String getDescription()
RulegetDescription in class AbstractSimpleReplaceRule2$match will be replaced with the matching word.public String getShort()
getShort in class AbstractSimpleReplaceRule2public Locale getLocale()
AbstractSimpleReplaceRule2getLocale in class AbstractSimpleReplaceRule2public List<String> getFileNames()
getFileNames in class AbstractSimpleReplaceRule2public String getMessage()
getMessage in class AbstractSimpleReplaceRule2$match will be replaced with the matching word
and $suggestions will be replaced with the alternatives. This is the string
shown to the user.protected boolean isTokenException(AnalyzedTokenReadings atr)
isTokenException in class AbstractSimpleReplaceRule2