Numerical Inflection
version 2 by Aaron Reed
Documentation
A short extension to Plurality by Emily Short that extendes the numerical is-are concept to work for inflecting verbs that appear after a list. Technical wizardry courtesy of Erik Temple.
Just as Plurality allows you to write something like:
say "You can see [the number of things on the pedestal] thing[s] resting on the pedestal."
...and also:
say "[The list of things on the pedestal] [numerical is-are] resting on the pedestal."
You can now also inflect verbs based on the number of items in a list, as follows:
say "[The list of things on the pedestal] rest[numerical s] on the pedestal."
Which might produce:
"The golden toothbrush rests on the pedestal."
"The golden toothbrush and the silver comb rest on the pedestal."
The same alternate forms are provided as with Plurality:
say "[The list of portable unheld things] fl[numerical ies] into the air as gravity is disengaged!"
say "[The list of mentally challenging things] tax[numerical es] your imagination."
To make these forms a little less awkward, abbreviations are also provided, even for the existing form in Plurality:
say "[The list of portable unheld things] fl[-ies] into the air as gravity is disengaged!"
say "[The list of mentally challenging things] tax[-es] your imagination."
say "[The list of things on the pedestal] [-is-are] resting on the marble pedestal."