Class CompoundInfinitivRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.de.CompoundInfinitivRule
public class CompoundInfinitivRule
extends org.languagetool.rules.Rule
Checks the compound spelling of infinitive clause (Erweiterter Infinitiv mit zu)
- Since:
- 4.4
- Author:
- Fred Kruse
-
Field Summary
Fields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
ConstructorsConstructorDescriptionCompoundInfinitivRule(ResourceBundle messages, org.languagetool.Language lang, org.languagetool.UserConfig userConfig) -
Method Summary
Methods inherited from class org.languagetool.rules.Rule
addExamplePair, estimateContextForSureMatch, 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
-
Constructor Details
-
CompoundInfinitivRule
public CompoundInfinitivRule(ResourceBundle messages, org.languagetool.Language lang, org.languagetool.UserConfig userConfig) throws IOException - Throws:
IOException
-
-
Method Details
-
getId
- Specified by:
getIdin classorg.languagetool.rules.Rule
-
getDescription
- Specified by:
getDescriptionin classorg.languagetool.rules.Rule
-
getAntiPatterns
public List<org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule> getAntiPatterns()- Overrides:
getAntiPatternsin classorg.languagetool.rules.Rule
-
match
public org.languagetool.rules.RuleMatch[] match(org.languagetool.AnalyzedSentence sentence) throws IOException - Specified by:
matchin classorg.languagetool.rules.Rule- Throws:
IOException
-