public class GermanStyleRepeatedWordRule extends AbstractStyleRepeatedWordRule
maxDistanceOfSentences| Constructor and Description |
|---|
GermanStyleRepeatedWordRule(ResourceBundle messages,
UserConfig userConfig) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
protected boolean |
isPartOfWord(String testTokenText,
String tokenText) |
protected boolean |
isTokenPair(AnalyzedTokenReadings[] tokens,
int n,
boolean before) |
protected boolean |
isTokenToCheck(AnalyzedTokenReadings token) |
protected String |
messageSameSentence() |
protected String |
messageSentenceAfter() |
protected String |
messageSentenceBefore() |
getConfigureText, getDefaultValue, getMaxConfigurableValue, getMinConfigurableValue, hasConfigurableValue, matchmatch, 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, UserConfig userConfig)
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 AbstractStyleRepeatedWordRuleprotected boolean isPartOfWord(String testTokenText, String tokenText)
isPartOfWord in class AbstractStyleRepeatedWordRule