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) |
void |
reset() |
addExamplePair, getAntiPatterns, getCategory, getCorrectExamples, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getSentenceWithImmunization, getUrl, isDefaultOff, isDictionaryBasedSpellingRule, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic NumeralStressRule(ResourceBundle messages)
public String getDescription()
getDescription in class Rulepublic RuleMatch[] match(AnalyzedSentence sentence) throws IOException
match in class RuleIOException