Package org.languagetool.rules.pt
Class PortugueseRedundancyRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSimpleReplaceRule2
org.languagetool.rules.pt.PortugueseRedundancyRule
A rule that matches redundant expression.
Portuguese implementations. Loads the list of words from
/pt/redundancies.txt.- Since:
- 3.8
- Author:
- Tiago F. Santos
-
Nested Class Summary
Nested classes/interfaces inherited from class org.languagetool.rules.AbstractSimpleReplaceRule2
AbstractSimpleReplaceRule2.CaseSensitivy -
Field Summary
FieldsFields inherited from class org.languagetool.rules.AbstractSimpleReplaceRule2
language, subRuleSpecificIds -
Constructor Summary
ConstructorsConstructorDescriptionPortugueseRedundancyRule(ResourceBundle messages, String path, Language language) -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractSimpleReplaceRule2
checkKeyWordsAreKnownToSpeller, checkKeyWordsAreUnknownToSpeller, getCaseSensitivy, getDescription, getFilePaths, getWrongWords, isCheckingCase, isException, isIgnoreShortUppercaseWords, isPunctuationStart, isRuleMatchException, isTokenException, match, separateKeyWordsBySpeller, setIgnoreShortUppercaseWords, setRuleHasSuggestions, useSubRuleSpecificIdsMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, 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
-
Field Details
-
PT_REDUNDANCY_REPLACE
- See Also:
-
-
Constructor Details
-
PortugueseRedundancyRule
-
-
Method Details
-
getFileNames
- Specified by:
getFileNamesin classAbstractSimpleReplaceRule2
-
getId
- Specified by:
getIdin classAbstractSimpleReplaceRule2
-
getDescription
- Specified by:
getDescriptionin classAbstractSimpleReplaceRule2
-
getShort
- Specified by:
getShortin classAbstractSimpleReplaceRule2
-
getMessage
- Specified by:
getMessagein classAbstractSimpleReplaceRule2
-
getSuggestionsSeparator
- Overrides:
getSuggestionsSeparatorin classAbstractSimpleReplaceRule2
-
getUrl
-
getLocale
- Specified by:
getLocalein classAbstractSimpleReplaceRule2
-