pluralize ( word -- plural )
English natural language transformations

Prev:plural? ( word -- ? )
Next:?pluralize ( count singular -- singular/plural )


Vocabulary
english

Inputs
worda string


Outputs
plurala string


Word description
Determine the plural form of the input English word. If the input is already plural, it might be returned unchanged.

Notes
If the input is already in plural form, an invalid construct such as friendses may be generated. This is difficult to avoid due to the unpredictable structure of the English language.
This word attempts to preserve the letter case style of the input.


Examples
USING: english io ; "CAT" pluralize print
CATS

USING: english io ; "Octopus" pluralize print
Octopi


See also
?pluralize, plural?, count-of-things, singularize, singular?

Definition