EnNounPluralizer

org.beangle.commons.text.inflector.en.EnNounPluralizer$

Attributes

Graph
Supertypes
trait Pluralizer
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

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.

Attributes

Inherited from:
RuleBasedPluralizer

Inherited fields

Attributes

Inherited from:
RuleBasedPluralizer
var locale: Locale

Attributes

Inherited from:
RuleBasedPluralizer
var rules: List[Rule]

Attributes

Inherited from:
RuleBasedPluralizer