?pluralize ( count singular -- singular/plural )
English natural language transformations

Prev:pluralize ( word -- plural )
Next:count-of-things ( count word -- str )


Vocabulary
english

Inputs
counta number
singulara string


Outputs
singular/plurala string


Word description
A simpler variant of count-of-things which omits its input value from the output. As with count-of-things, word is expected to be in singular form.

Notes
This word attempts to preserve the letter case style of the input.
Due to the unique way in which the English language is structured, the number 0 is considered plural; 1 is the only singular quantity.


Examples
USING: english io ; 14 "criterion" ?pluralize print
criteria


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

Definition


: ?pluralize ( count singular -- singular/plural )
swap 1 = [ pluralize ] unless ;