public class FrenchRepeatedWordsRule extends AbstractRepeatedWordsRule
Constructor and Description |
---|
FrenchRepeatedWordsRule(ResourceBundle messages) |
Modifier and Type | Method and Description |
---|---|
protected String |
adjustPostag(String postag) |
String |
getDescription()
A short description of the error this rule can detect, usually in the language of the text
that is checked.
|
protected String |
getMessage() |
protected String |
getShortMessage() |
protected Synthesizer |
getSynthesizer() |
protected Map<String,SynonymsData> |
getWordsToCheck() |
protected boolean |
isException(AnalyzedTokenReadings[] tokens,
int i,
boolean sentStart,
boolean isCapitalized,
boolean isAllUppercase) |
getId, loadWords, match, maxWordsDistance, minToCheckParagraph
estimateContextForSureMatch, match, match
addExamplePair, addTags, addToneTags, cacheAntiPatterns, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasConfigurableValue, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
public FrenchRepeatedWordsRule(ResourceBundle messages)
protected String getMessage()
getMessage
in class AbstractRepeatedWordsRule
public String getDescription()
Rule
getDescription
in class AbstractRepeatedWordsRule
protected Map<String,SynonymsData> getWordsToCheck()
getWordsToCheck
in class AbstractRepeatedWordsRule
protected String getShortMessage()
getShortMessage
in class AbstractRepeatedWordsRule
protected Synthesizer getSynthesizer()
getSynthesizer
in class AbstractRepeatedWordsRule
protected String adjustPostag(String postag)
adjustPostag
in class AbstractRepeatedWordsRule
protected boolean isException(AnalyzedTokenReadings[] tokens, int i, boolean sentStart, boolean isCapitalized, boolean isAllUppercase)
isException
in class AbstractRepeatedWordsRule