Myna. Inflector

Static class for converting English words to plural and singular forms

Summary
Myna. InflectorStatic class for converting English words to plural and singular forms
Functions
pluralizereturns the plural version of a word
singularizereturns the singular version of a word

Functions

pluralize

pluralize:function (word)

returns the plural version of a word

Parameters

wordstring to pluralize

singularize

singularize:function (word)

returns the singular version of a word

Parameters

wordstring to singularize
pluralize:function (word)
returns the plural version of a word
singularize:function (word)
returns the singular version of a word