public class NumeralStressRule extends Rule
Greek ordinal numerals are declined like adjectives. When a numeral is written as an arabic number followed by a suffix, the suffix may need a stress (e.g. 20ός, 100ός but 1ος, 10ος). This rule will check for incorrect usage or absence of stress.
| Constructor and Description |
|---|
NumeralStressRule(ResourceBundle messages) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
RuleMatch[] |
match(AnalyzedSentence sentence) |
addExamplePair, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic NumeralStressRule(ResourceBundle messages)
public String getDescription()
getDescription in class Rulepublic RuleMatch[] match(AnalyzedSentence sentence) throws IOException
match in class RuleIOException