EnNounPluralizer

class Object
trait Matchable
class Any

Value members

Inherited methods

def pluralize(word: String, number: Int): String

Converts a noun or pronoun to its plural form for the given number of instances. If <code>number</code> is 1, <code>word</code> is returned unchanged. The return value is not defined if this method is passed a plural form.

Converts a noun or pronoun to its plural form for the given number of instances. If <code>number</code> is 1, <code>word</code> is returned unchanged. The return value is not defined if this method is passed a plural form.

Inherited from
RuleBasedPluralizer
def pluralize(word: String): String

Converts a noun or pronoun to its plural form. This method is equivalent to calling <code>pluralize(word, 2)</code>. The return value is not defined if this method is passed a plural form.

Converts a noun or pronoun to its plural form. This method is equivalent to calling <code>pluralize(word, 2)</code>. The return value is not defined if this method is passed a plural form.

Inherited from
RuleBasedPluralizer

Inherited fields

var locale: Locale
Inherited from
RuleBasedPluralizer
var rules: List[Rule]
Inherited from
RuleBasedPluralizer