public class AgreementRule extends GermanRule
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) |
void |
reset() |
addExamplePair, getCategory, getCorrectExamples, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getSentenceWithImmunization, getUrl, isDefaultOff, isDictionaryBasedSpellingRule, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, 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