public class SentenceWithManRule extends AbstractStatisticSentenceStyleRule
| Constructor and Description |
|---|
SentenceWithManRule(ResourceBundle messages,
Language lang,
UserConfig userConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected AnalyzedTokenReadings |
conditionFulfilled(List<AnalyzedTokenReadings> sentence)
Is sentence with verb man
|
double |
denominator()
Minimal value is given in per mil
|
protected boolean |
excludeDirectSpeech() |
String |
getConfigureText() |
String |
getDescription() |
String |
getId() |
protected String |
getLimitMessage(int limit,
double percent) |
getDefaultValue, getMaxConfigurableValue, getMinConfigurableValue, getNumberOfMatches, getSentenceCount, hasConfigurableValue, isMark, isOpeningQuote, match, minToCheckParagraph, setWithoutDirectSpeechestimateContextForSureMatch, match, matchaddExamplePair, addTags, addToneTags, cacheAntiPatterns, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, 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, useInOfficepublic SentenceWithManRule(ResourceBundle messages, Language lang, UserConfig userConfig)
protected AnalyzedTokenReadings conditionFulfilled(List<AnalyzedTokenReadings> sentence)
conditionFulfilled in class AbstractStatisticSentenceStyleRuleprotected boolean excludeDirectSpeech()
excludeDirectSpeech in class AbstractStatisticSentenceStyleRulepublic double denominator()
denominator in class AbstractStatisticSentenceStyleRuleprotected String getLimitMessage(int limit, double percent)
getLimitMessage in class AbstractStatisticSentenceStyleRulepublic String getDescription()
getDescription in class Rulepublic String getConfigureText()
getConfigureText in class AbstractStatisticSentenceStyleRule