org.beangle.commons.text.inflector.rule.SuffixInflectionRule
SuffixInflectionRule class.
Attributes
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Known subtypes
Members list
Concise view
Value members
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.
Attributes
- pluralSuffix
the plural suffix, starting with a "-" character
- singularSuffix
the singular suffix, starting with a "-" character
Tests to see if this rule applies for the given word.
Tests to see if this rule applies for the given word.
Attributes
- Returns:
true
if this rule should be applied, false
otherwise
Applies this rule to the word, and transforming it into a new form.
Applies this rule to the word, and transforming it into a new form.
Attributes
- Returns:
the transformed word