public class StyleTooOftenUsedAdjectiveRule extends AbstractStyleTooOftenUsedWordRule
| Constructor and Description |
|---|
StyleTooOftenUsedAdjectiveRule(ResourceBundle messages,
Language lang,
UserConfig userConfig) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigureText()
Overwrite this to define the Text in the option panel for the configurable value
|
String |
getDescription()
A short description of the error this rule can detect, usually in the language of the text
that is checked.
|
String |
getId()
A string used to identify the rule in e.g. configuration files.
|
protected String |
getLimitMessage(int limit)
Defines the message for hints which exceed the limit
|
protected boolean |
isException(AnalyzedTokenReadings token)
An exception is defined for the token
|
protected boolean |
isToCountedWord(AnalyzedTokenReadings token)
A token that has to be counted
|
protected String |
toAddedLemma(AnalyzedTokenReadings token)
Gives back the lemma that should be added to the word map
|
getDefaultValue, getMaxConfigurableValue, getMinConfigurableValue, getWordMap, hasConfigurableValue, match, minToCheckParagraph, setWithoutDirectSpeechestimateContextForSureMatch, match, matchaddExamplePair, addTags, addToneTags, cacheAntiPatterns, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic StyleTooOftenUsedAdjectiveRule(ResourceBundle messages, Language lang, UserConfig userConfig)
protected String getLimitMessage(int limit)
AbstractStyleTooOftenUsedWordRulegetLimitMessage in class AbstractStyleTooOftenUsedWordRulepublic String getId()
RuleA-Z
and the underscore.public String getDescription()
RulegetDescription in class Rulepublic String getConfigureText()
RulegetConfigureText in class AbstractStyleTooOftenUsedWordRuleprotected boolean isToCountedWord(AnalyzedTokenReadings token)
AbstractStyleTooOftenUsedWordRuleisToCountedWord in class AbstractStyleTooOftenUsedWordRuleprotected boolean isException(AnalyzedTokenReadings token)
AbstractStyleTooOftenUsedWordRuleisException in class AbstractStyleTooOftenUsedWordRuleprotected String toAddedLemma(AnalyzedTokenReadings token)
AbstractStyleTooOftenUsedWordRuletoAddedLemma in class AbstractStyleTooOftenUsedWordRule