I\'m preparing some table names for an ORM, and I want to turn plural table names into single entity names. My only problem is finding an algorithm that does it reliably. He
Consider the python package "inflect"
"Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words"
https://pypi.python.org/pypi/inflect