SuffixInflectionRule
class SuffixInflectionRule(suffix: String, val singularSuffix: String, val pluralSuffix: String) extends Rule
SuffixInflectionRule class.
Value members
Constructors
Construct a rule for words with suffix singularSuffix
which becomes
pluralSuffix
in the plural.
Construct a rule for words with suffix singularSuffix
which becomes
pluralSuffix
in the plural.
- Value parameters:
- pluralSuffix
the plural suffix, starting with a "-" character
- singularSuffix
the singular suffix, starting with a "-" character
Concrete methods
Tests to see if this rule applies for the given word.
Tests to see if this rule applies for the given word.
- Returns:
true
if this rule should be applied,false
otherwise