Package org.languagetool.rules.de
Class DuUpperLowerCaseRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.TextLevelRule
org.languagetool.rules.de.DuUpperLowerCaseRule
public class DuUpperLowerCaseRule
extends org.languagetool.rules.TextLevelRule
Coherent use of Du/du, Dich/dich etc. Assume that the first use has 'correct'
capitalization and suggest the same capitalization for subsequent uses.
- Since:
- 4.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.languagetool.rules.Rule
messages
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.TextLevelRule
estimateContextForSureMatch, match, match
Methods inherited from class org.languagetool.rules.Rule
addExamplePair, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
lowerWords
-
ambiguousWords
-
-
Constructor Details
-
DuUpperLowerCaseRule
-
-
Method Details
-
getId
- Specified by:
getId
in classorg.languagetool.rules.Rule
-
getDescription
- Specified by:
getDescription
in classorg.languagetool.rules.Rule
-
match
public org.languagetool.rules.RuleMatch[] match(List<org.languagetool.AnalyzedSentence> sentences) throws IOException - Specified by:
match
in classorg.languagetool.rules.TextLevelRule
- Throws:
IOException
-
minToCheckParagraph
public int minToCheckParagraph()- Specified by:
minToCheckParagraph
in classorg.languagetool.rules.TextLevelRule
-