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