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 |
|---|---|
List<DisambiguationPatternRule> |
getAntiPatterns() |
String |
getDescription() |
String |
getId() |
RuleMatch[] |
match(AnalyzedSentence sentence) |
addExamplePair, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic AgreementRule(ResourceBundle messages, German language)
public String getDescription()
getDescription in class Rulepublic RuleMatch[] match(AnalyzedSentence sentence)
public List<DisambiguationPatternRule> getAntiPatterns()
getAntiPatterns in class Rule