Package org.languagetool.rules.fr
Class FrenchRepeatedWordsRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.TextLevelRule
org.languagetool.rules.AbstractRepeatedWordsRule
org.languagetool.rules.fr.FrenchRepeatedWordsRule
-
Field Summary
FieldsFields inherited from class org.languagetool.rules.AbstractRepeatedWordsRule
language -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringadjustPostag(String postag) A short description of the error this rule can detect, usually in the language of the text that is checked.protected Stringprotected Stringprotected Synthesizerprotected Map<String, SynonymsData> protected booleanisException(AnalyzedTokenReadings[] tokens, int i, boolean sentStart, boolean isCapitalized, boolean isAllUppercase) Methods inherited from class org.languagetool.rules.AbstractRepeatedWordsRule
getId, loadWords, match, maxWordsDistance, minToCheckParagraphMethods inherited from class org.languagetool.rules.TextLevelRule
estimateContextForSureMatch, match, matchMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isIncludedInHiddenMatches, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncludedInHiddenMatches, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setPriority, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
wordsToCheck
-
-
Constructor Details
-
FrenchRepeatedWordsRule
-
-
Method Details
-
getMessage
- Specified by:
getMessagein classAbstractRepeatedWordsRule
-
getDescription
Description copied from class:RuleA short description of the error this rule can detect, usually in the language of the text that is checked.- Specified by:
getDescriptionin classAbstractRepeatedWordsRule
-
getWordsToCheck
- Specified by:
getWordsToCheckin classAbstractRepeatedWordsRule
-
getShortMessage
- Specified by:
getShortMessagein classAbstractRepeatedWordsRule
-
getSynthesizer
- Specified by:
getSynthesizerin classAbstractRepeatedWordsRule
-
adjustPostag
- Overrides:
adjustPostagin classAbstractRepeatedWordsRule
-
isException
protected boolean isException(AnalyzedTokenReadings[] tokens, int i, boolean sentStart, boolean isCapitalized, boolean isAllUppercase) - Specified by:
isExceptionin classAbstractRepeatedWordsRule
-