Package org.languagetool.rules.pt
Class PreReformPortugueseCompoundRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractCompoundRule
org.languagetool.rules.pt.PreReformPortugueseCompoundRule
Checks that compounds (if in the list) are not written as separate words.
- Since:
- 2.6
-
Field Summary
Fields inherited from class org.languagetool.rules.AbstractCompoundRule
lang, linguServices, sentenceStartsWithUpperCase, subRuleSpecificIds -
Constructor Summary
ConstructorsConstructorDescriptionPreReformPortugueseCompoundRule(ResourceBundle messages, Language lang, UserConfig userConfig) -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractCompoundRule
estimateContextForSureMatch, filterReplacements, isMisspelled, match, mergeCompound, useSubRuleSpecificIdsMethods 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
-
PreReformPortugueseCompoundRule
public PreReformPortugueseCompoundRule(ResourceBundle messages, Language lang, UserConfig userConfig) throws IOException - Throws:
IOException
-
-
Method Details
-
getId
- Specified by:
getIdin classAbstractCompoundRule
-
getDescription
- Specified by:
getDescriptionin classAbstractCompoundRule
-
getCompoundRuleData
- Specified by:
getCompoundRuleDatain classAbstractCompoundRule
-