Reference

Class

RiTa

Name

pluralize

Description Pluralizes a noun according to pluralization rules. Returns the input if it is already plural.
Example

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

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

Parameters
Stringthe noun
Object
(or Map in Java)
{boolean} options.dbug: if true, output debug logs to console (optional)
Returns
Stringthe (regular or irregular) plural form of the noun
Syntax
RiTa.pluralize(word);
Platform Java / JavaScript