public class CaseRule extends Rule
| Modifier and Type | Field and Description |
|---|---|
static PatternToken |
SENT_START |
| Constructor and Description |
|---|
CaseRule(ResourceBundle messages,
German german) |
| Modifier and Type | Method and Description |
|---|---|
int |
estimateContextForSureMatch() |
List<DisambiguationPatternRule> |
getAntiPatterns() |
String |
getDescription() |
String |
getId() |
URL |
getUrl() |
RuleMatch[] |
match(AnalyzedSentence sentence) |
addExamplePair, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setExamplePair, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final PatternToken SENT_START
public CaseRule(ResourceBundle messages, German german)
public int estimateContextForSureMatch()
estimateContextForSureMatch in class Rulepublic String getDescription()
getDescription in class Rulepublic RuleMatch[] match(AnalyzedSentence sentence) throws IOException
match in class RuleIOExceptionpublic List<DisambiguationPatternRule> getAntiPatterns()
getAntiPatterns in class Rule