Reference

Class

RiTa

Name

RiTa.singularize

Description Singularize a word according to singularization rules
Syntax
RiTa.singularize(word);
Parameters
Stringthe noun
Returns
Stringthe singular form of the noun
Example

singular = RiTa.singularize("dogs"); // returns "dog"

singular = RiTa.singularize("mice"); // returns "mouse"

Platform Java / Javascript