Package org.languagetool.rules.de
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, minToCheckParagraph
Methods inherited from class org.languagetool.rules.TextLevelRule
estimateContextForSureMatch, match, match
Methods 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:
getId
in classorg.languagetool.rules.ParagraphRepeatBeginningRule
-
isArticle
public boolean isArticle(org.languagetool.AnalyzedTokenReadings token) - Overrides:
isArticle
in classorg.languagetool.rules.ParagraphRepeatBeginningRule
-