Package org.languagetool.rules.en
Class EnglishDashRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractDashRule
org.languagetool.rules.en.EnglishDashRule
public class EnglishDashRule
extends org.languagetool.rules.AbstractDashRule
Check for compounds written with dashes instead of hyphens.
- Since:
- 3.8
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final List
<org.languagetool.rules.patterns.PatternRule> Fields inherited from class org.languagetool.rules.Rule
messages
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractDashRule
estimateContextForSureMatch, loadCompoundFile, 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
-
dashRules
-
-
Constructor Details
-
EnglishDashRule
- Throws:
IOException
-
-
Method Details
-
getId
- Overrides:
getId
in classorg.languagetool.rules.AbstractDashRule
-
getDescription
- Specified by:
getDescription
in classorg.languagetool.rules.AbstractDashRule
-