org.languagetool.rules.de
Class CaseRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.de.GermanRule
org.languagetool.rules.de.CaseRule
public class CaseRule
- extends GermanRule
Check that adjectives and verbs are not written with an uppercase
first letter (except at the start of a sentence) and cases
like this: Das laufen fällt mir leicht. (laufen needs
to be uppercased).
- Author:
- Daniel Naber
| Fields inherited from class org.languagetool.rules.Rule |
messages |
| Methods inherited from class org.languagetool.rules.Rule |
addRuleMatch, clearMatches, getCategory, getCorrectExamples, getIncorrectExamples, getLocQualityIssueType, getMatches, getMatchesIndex, getUrl, isDefaultOff, isInMatches, isInRemoved, isParagraphBackTrack, isSpellingRule, setAsDeleted, setCategory, setCorrectExamples, setDefaultOff, setIncorrectExamples, setLocQualityIssueType, setParagraphBackTrack, setUrl, supportsLanguage, toRuleMatchArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaseRule
public CaseRule(ResourceBundle messages)
getId
public String getId()
- Specified by:
getId in class Rule
getDescription
public String getDescription()
- Specified by:
getDescription in class Rule
match
public RuleMatch[] match(AnalyzedSentence text)
throws IOException
- Specified by:
match in class Rule
- Throws:
IOException
reset
public void reset()
- Specified by:
reset in class Rule
Copyright © 2013. All Rights Reserved.