This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v1.0) of this package.

A library to allow for pluralisation and singularisation of words programatically.

v1.0 2014-12-03 20:14 UTC

This package is not auto-updated.

Last update: 2017-04-30 07:25:38 UTC


Originally built from source long-lost to the mists of time, only closest reference I can find is here:

Original Readme below:

Thanks to (MIT license) (MIT license) // Changes (12/17/07) Major changes

Fixed irregular noun algorithm to use regular expressions just like the original Ruby source. (this allows for things like fireman -> firemen Fixed the order of the singular array, which was backwards. // Minor changes

Removed incorrect pluralization rule for /([^aeiouy]|qu)ies$/ => $1y Expanded on the list of exceptions for *o -> *oes, and removed rule for buffalo -> buffaloes Removed dangerous singularization rule for /([^f])ves$/ => $1fe Added more specific rules for singularizing lives, wives, knives, sheaves, loaves, and leaves and thieves Added exception to /(us)es$/ => $1 rule for houses => house and blouses => blouse Added excpetions for feet, geese and teeth Added rule for deer -> deer Changes: Removed rule for virus -> viri Added rule for potato -> potatoes Added rule for *us -> *uses