public class GermanStyleRepeatedWordRule extends AbstractStyleRepeatedWordRule
maxDistanceOfSentences| Constructor and Description |
|---|
GermanStyleRepeatedWordRule(ResourceBundle messages,
Language lang,
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() |
protected URL |
setURL(AnalyzedTokenReadings token) |
getConfigureText, getDefaultValue, getMaxConfigurableValue, getMinConfigurableValue, getSynonyms, hasConfigurableValue, match, minToCheckParagraphestimateContextForSureMatch, match, matchaddExamplePair, getAntiPatterns, getCategory, getCorrectExamples, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getSentenceWithImmunization, getUrl, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setExamplePair, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic GermanStyleRepeatedWordRule(ResourceBundle messages, Language lang, 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 AbstractStyleRepeatedWordRuleprotected URL setURL(AnalyzedTokenReadings token) throws MalformedURLException
setURL in class AbstractStyleRepeatedWordRuleMalformedURLException