Package org.languagetool.rules.ngrams
Class ConfusionProbabilityRule.SpecificIdRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.ngrams.ConfusionProbabilityRule
org.languagetool.rules.ngrams.ConfusionProbabilityRule.SpecificIdRule
- Enclosing class:
ConfusionProbabilityRule
-
Nested Class Summary
Nested classes/interfaces inherited from class org.languagetool.rules.ngrams.ConfusionProbabilityRule
ConfusionProbabilityRule.SpecificIdRule -
Field Summary
FieldsFields inherited from class org.languagetool.rules.ngrams.ConfusionProbabilityRule
MIN_COVERAGE, RULE_ID -
Constructor Summary
ConstructorsConstructorDescriptionSpecificIdRule(String id, String desc, ResourceBundle messages, LanguageModel lm, Language lang) -
Method Summary
Modifier and TypeMethodDescriptionA short description of the error this rule can detect, usually in the language of the text that is checked.getId()A string used to identify the rule in e.g.Methods inherited from class org.languagetool.rules.ngrams.ConfusionProbabilityRule
estimateContextForSureMatch, getAntiPatterns, getFilenames, getMessage, getNGrams, isCommonWord, isException, match, setConfusionPairMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, 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, useInOffice
-
Field Details
-
id
-
desc
-
-
Constructor Details
-
SpecificIdRule
SpecificIdRule(String id, String desc, ResourceBundle messages, LanguageModel lm, Language lang)
-
-
Method Details
-
getId
Description copied from class:RuleA string used to identify the rule in e.g. configuration files. This string is supposed to be unique and to stay the same in all upcoming versions of LanguageTool. It's supposed to contain only the charactersA-Zand the underscore.- Overrides:
getIdin classConfusionProbabilityRule
-
getDescription
Description copied from class:RuleA short description of the error this rule can detect, usually in the language of the text that is checked.- Overrides:
getDescriptionin classConfusionProbabilityRule
-