Foobar is a Python library for dealing with word pluralization.
Use the package manager pip to install foobar.
bashpip install foobar
pythonimport foobarfoobar.pluralize('word') ## returns 'words'foobar.pluralize('goose') ## returns 'geese'foobar.singularize('phenomena') ## returns 'phenomenon'
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.