trillions
trillions

Reputation: 3709

How to identify plurals of noun

I've seen people asked similar questions but without any good answer. I now encountered the same question, can anyone help?

See below:

Input: a list of words

Output: identify nouns in their plural forms, convert them into their singular forms if possible

Upvotes: 2

Views: 1403

Answers (1)

Ina
Ina

Reputation: 4470

WordNet will be able to help with stripping plurals. It is a full morphological dictionary of English language.

http://wordnet.princeton.edu/

The JAWS is a simple Java API which talks to WordNet, though others exist.

http://lyle.smu.edu/~tspell/jaws/index.html

Note, WordNet will not perfectly deal with the various idiosyncrasies of English, from their FAQ:

Along with a set of irregular forms (e.g. children - child), it uses a sequence of simple rules, stripping common English endings until it finds a word form present in WordNet. Furthermore, it assumes its input is a valid inflected form. So, it will take "childes" to "child", even though "childes" is not a word.

Upvotes: 2

Related Questions