Question like in topic - I'm trying to do that in python for app in Google App Engine. I know PyEnchant library is used for natural language recognition but I don't see if I can use it for my problem and how.
Checkout the inflect 0.2.4 library.
inflect 0.2.4
Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words