Pluralize

Pluralize["noun"]

gives the plural form of the English word "noun".

Pluralize["noun",n]

gives the inflected form of "noun" for n instances.

Pluralize[{"singular","plural"},n]

inflects using the specified forms.

Pluralize[spec,list]

uses the length of list to determine the inflection to use.

Details

  • Pluralize["noun",] works for standard singular dictionary words; for other words it generates a message and returns the original string.

Examples

open allclose all

Basic Examples  (3)

Find the plural form automatically:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Provide explicit and singular plural forms:

In[1]:=
Click for copyable input
Out[1]=

Match the inflection to the number of elements in a list:

In[1]:=
Click for copyable input
Out[1]=

Possible Issues  (1)

See Also

DictionaryLookup  WordData  StringTemplate  StringJoin

Introduced in 2014
(10.0)