Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check if given word is in plural or singular form?

Tags:

python

nlp

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.

like image 741
Gricha Avatar asked Aug 30 '12 22:08

Gricha


1 Answers

Checkout the inflect 0.2.4 library.

inflect 0.2.4

Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words

like image 140
Ashwini Chaudhary Avatar answered Oct 23 '22 15:10

Ashwini Chaudhary