public class EnglishWordRepeatBeginningRule extends WordRepeatBeginningRule
WordRepeatBeginningRule
.Constructor and Description |
---|
EnglishWordRepeatBeginningRule(ResourceBundle messages,
Language language) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
A string used to identify the rule in e.g. configuration files.
|
protected List<String> |
getSuggestions(AnalyzedTokenReadings token) |
protected boolean |
isAdverb(AnalyzedTokenReadings token) |
boolean |
isException(String token) |
getDescription, isSentenceException, match, 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 EnglishWordRepeatBeginningRule(ResourceBundle messages, Language language)
public String getId()
Rule
A-Z
and the underscore.getId
in class WordRepeatBeginningRule
public boolean isException(String token)
isException
in class WordRepeatBeginningRule
protected boolean isAdverb(AnalyzedTokenReadings token)
isAdverb
in class WordRepeatBeginningRule
protected List<String> getSuggestions(AnalyzedTokenReadings token)
getSuggestions
in class WordRepeatBeginningRule