Constructs a pluralizer that uses a list of rules then an identity
Pluralizer if none
of the rules match.
the rules to apply in order
the locale specifying the language of the pluralizer
Constructs a pluralizer with an empty list of rules.
Converts a noun or pronoun to its plural form for the given number of instances.
Converts a noun or pronoun to its plural form.
Goes through the rules in turn until a match is found at which point the rule is applied and the result returned.
a singular noun
the plural form of the noun, or
null if no rule matches
Apply processing to
the input word, with leading and trailing whitespace removed
the pluralized word
pluralizedWord after processing