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 number is 1, word 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 number is 1, word 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 pluralize(word, 2). 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 pluralize(word, 2). 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