public class GermanStyleRepeatedWordRule extends AbstractStyleRepeatedWordRule
| Constructor and Description |
|---|
GermanStyleRepeatedWordRule(ResourceBundle messages) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
protected boolean |
isTokenPair(AnalyzedTokenReadings[] tokens,
int n,
boolean before) |
protected boolean |
isTokenToCheck(AnalyzedTokenReadings token) |
protected String |
messageSameSentence() |
protected String |
messageSentenceAfter() |
protected String |
messageSentenceBefore() |
getDefaultValue, match, setDefaultValuematch, matchaddExamplePair, getAntiPatterns, getCategory, getCorrectExamples, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getSentenceWithImmunization, getUrl, isDefaultOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic GermanStyleRepeatedWordRule(ResourceBundle messages)
public String getId()
getId in class AbstractStyleRepeatedWordRulepublic String getDescription()
getDescription in class AbstractStyleRepeatedWordRuleprotected String messageSameSentence()
messageSameSentence in class AbstractStyleRepeatedWordRuleprotected String messageSentenceBefore()
messageSentenceBefore in class AbstractStyleRepeatedWordRuleprotected String messageSentenceAfter()
messageSentenceAfter in class AbstractStyleRepeatedWordRuleprotected boolean isTokenToCheck(AnalyzedTokenReadings token)
isTokenToCheck in class AbstractStyleRepeatedWordRuleprotected boolean isTokenPair(AnalyzedTokenReadings[] tokens, int n, boolean before)
isTokenPair in class AbstractStyleRepeatedWordRule