Package org.languagetool.rules.fr
Class CompoundRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractCompoundRule
org.languagetool.rules.fr.CompoundRule
public class CompoundRule
extends org.languagetool.rules.AbstractCompoundRule
Checks that compounds (if in the list) are not written as separate words.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.languagetool.rules.CompoundRuleData
Fields inherited from class org.languagetool.rules.AbstractCompoundRule
sentenceStartsWithUpperCase
Fields inherited from class org.languagetool.rules.Rule
messages
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractCompoundRule
estimateContextForSureMatch, isHyphenIgnored, 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
-
compoundData
private static final org.languagetool.rules.CompoundRuleData compoundData
-
-
Constructor Details
-
CompoundRule
- Throws:
IOException
-
-
Method Details
-
getId
- Specified by:
getId
in classorg.languagetool.rules.AbstractCompoundRule
-
getDescription
- Specified by:
getDescription
in classorg.languagetool.rules.AbstractCompoundRule
-
getCompoundRuleData
protected org.languagetool.rules.CompoundRuleData getCompoundRuleData()- Specified by:
getCompoundRuleData
in classorg.languagetool.rules.AbstractCompoundRule
-