public abstract class EnglishForL2SpeakersFalseFriendRule extends ConfusionProbabilityRule
MIN_COVERAGE, RULE_ID
Constructor and Description |
---|
EnglishForL2SpeakersFalseFriendRule(ResourceBundle messages,
LanguageModel languageModel,
Language motherTongue,
Language lang) |
Modifier and Type | Method and Description |
---|---|
protected String |
getMessage(ConfusionString textString,
ConfusionString suggestion) |
estimateContextForSureMatch, getAntiPatterns, getDescription, getFilenames, getId, getNGrams, isCommonWord, isException, match, setConfusionPair
addExamplePair, addTags, addToneTags, cacheAntiPatterns, 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, useInOffice
public EnglishForL2SpeakersFalseFriendRule(ResourceBundle messages, LanguageModel languageModel, Language motherTongue, Language lang)
protected String getMessage(ConfusionString textString, ConfusionString suggestion)
getMessage
in class ConfusionProbabilityRule