public class EnglishConfusionProbabilityRule extends ConfusionProbabilityRule
MIN_COVERAGE, RULE_ID
Constructor and Description |
---|
EnglishConfusionProbabilityRule(ResourceBundle messages,
LanguageModel languageModel,
Language language) |
EnglishConfusionProbabilityRule(ResourceBundle messages,
LanguageModel languageModel,
Language language,
int grams) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isException(String sentence,
int startPos,
int endPos)
Return true to prevent a match.
|
estimateContextForSureMatch, getAntiPatterns, getDescription, getFilenames, getId, getMessage, getNGrams, isCommonWord, 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 EnglishConfusionProbabilityRule(ResourceBundle messages, LanguageModel languageModel, Language language)
public EnglishConfusionProbabilityRule(ResourceBundle messages, LanguageModel languageModel, Language language, int grams)
protected boolean isException(String sentence, int startPos, int endPos)
ConfusionProbabilityRule
isException
in class ConfusionProbabilityRule