Package org.languagetool.rules.pt
Class PortugueseFillerWordsRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.TextLevelRule
org.languagetool.rules.AbstractStatisticStyleRule
org.languagetool.rules.AbstractFillerWordsRule
org.languagetool.rules.pt.PortugueseFillerWordsRule
A rule that gives hints on the use of Portuguese filler words.
The hints are only given when the percentage of filler words per paragraph exceeds the given limit.
A limit of 0 shows all used filler words. Direct speech or citation is excluded otherwise.
This rule detects no grammar error but gives stylistic hints (default off).
- Since:
- 4.2
-
Field Summary
FieldsFields inherited from class org.languagetool.rules.AbstractFillerWordsRule
RULE_ID -
Constructor Summary
ConstructorsConstructorDescriptionPortugueseFillerWordsRule(ResourceBundle messages, Language lang, UserConfig userConfig) -
Method Summary
Modifier and TypeMethodDescriptiongetId()A string used to identify the rule in e.g.booleanisException(AnalyzedTokenReadings[] tokens, int num) protected booleanisFillerWord(String token) Methods inherited from class org.languagetool.rules.AbstractFillerWordsRule
conditionFulfilled, excludeDirectSpeech, getConfigurePercentText, getConfigureWithoutDirectSpeachText, getDescription, getLimitMessage, getMessage, getRuleOptions, getSentenceMessage, minToCheckParagraph, sentenceConditionFulfilledMethods inherited from class org.languagetool.rules.AbstractStatisticStyleRule
denominator, getNumberOfMatches, getWordCount, match, setWithoutDirectSpeechMethods inherited from class org.languagetool.rules.TextLevelRule
estimateContextForSureMatch, match, matchMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, 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, useInOffice
-
Field Details
-
fillerWords
-
-
Constructor Details
-
PortugueseFillerWordsRule
-
-
Method Details
-
getId
Description copied from class:RuleA string used to identify the rule in e.g. configuration files. This string is supposed to be unique and to stay the same in all upcoming versions of LanguageTool. It's supposed to contain only the charactersA-Zand the underscore.- Overrides:
getIdin classAbstractFillerWordsRule
-
isFillerWord
- Specified by:
isFillerWordin classAbstractFillerWordsRule
-
isException
- Overrides:
isExceptionin classAbstractFillerWordsRule
-