Package org.languagetool.rules.pt
Class PreReformPortugueseDashRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractDashRule
org.languagetool.rules.pt.PreReformPortugueseDashRule
Check for compounds written with dashes instead of hyphens.
- Since:
- 3.8
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String>getId()protected booleanisBoundary(String s) Methods inherited from class org.languagetool.rules.AbstractDashRule
estimateContextForSureMatch, loadCompoundFile, matchMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isIncludedInErrorsCorrectedAllAtOnce, isIncludedInHiddenMatches, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncludedInHiddenMatches, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setPriority, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useDictionaryBasedFilterForMatches, useInOffice
-
Constructor Details
-
PreReformPortugueseDashRule
-
-
Method Details
-
getId
- Overrides:
getIdin classAbstractDashRule
-
getDescription
- Specified by:
getDescriptionin classAbstractDashRule
-
getMessage
- Specified by:
getMessagein classAbstractDashRule
-
isBoundary
- Overrides:
isBoundaryin classAbstractDashRule
-
getCompoundsData
- Specified by:
getCompoundsDatain classAbstractDashRule
-