Reference

Class

RiTa

Name

pluralize

Description Pluralizes a noun according to pluralization rules
Example

pluralized = RiTa.pluralize("dog"); // returns "dogs"

pluralized = RiTa.pluralize("mouse"); // returns "mice"

Parameters
Stringthe noun
Object
(or Map in Java)
option for pluralization (optional)

{boolean} option.dbug: if true, output debug log to console
Returns
Stringthe (regular or irregular) plural form of the noun
Syntax
RiTa.pluralize(word);
Platform Java / JavaScript