Class GermanParagraphRepeatBeginningRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.TextLevelRule
org.languagetool.rules.ParagraphRepeatBeginningRule
org.languagetool.rules.de.GermanParagraphRepeatBeginningRule
public class GermanParagraphRepeatBeginningRule
extends org.languagetool.rules.ParagraphRepeatBeginningRule
Check if to paragraphs begin with the same word.
If the first word is an article it checks if the first two words are identical
- Since:
- 4.1
-
Field Summary
Fields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
ConstructorsConstructorDescriptionGermanParagraphRepeatBeginningRule(ResourceBundle messages, org.languagetool.Language lang) -
Method Summary
Methods inherited from class org.languagetool.rules.ParagraphRepeatBeginningRule
getDescription, match, minToCheckParagraphMethods inherited from class org.languagetool.rules.TextLevelRule
estimateContextForSureMatch, match, matchMethods inherited from class org.languagetool.rules.Rule
addExamplePair, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Constructor Details
-
GermanParagraphRepeatBeginningRule
-
-
Method Details
-
getId
- Overrides:
getIdin classorg.languagetool.rules.ParagraphRepeatBeginningRule
-
isArticle
public boolean isArticle(org.languagetool.AnalyzedTokenReadings token) - Overrides:
isArticlein classorg.languagetool.rules.ParagraphRepeatBeginningRule
-