public class AgreementRule extends Rule
TODO: the implementation could use a re-write that first detects the relevant noun phrases and then checks agreement
| Constructor and Description |
|---|
AgreementRule(ResourceBundle messages,
German language) |
| Modifier and Type | Method and Description |
|---|---|
int |
estimateContextForSureMatch() |
List<DisambiguationPatternRule> |
getAntiPatterns() |
String |
getDescription() |
String |
getId() |
RuleMatch[] |
match(AnalyzedSentence sentence) |
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, useInOfficepublic AgreementRule(ResourceBundle messages, German language)
public int estimateContextForSureMatch()
estimateContextForSureMatch in class Rulepublic String getDescription()
getDescription in class Rulepublic RuleMatch[] match(AnalyzedSentence sentence)
public List<DisambiguationPatternRule> getAntiPatterns()
getAntiPatterns in class Rule