I want to get plural of the given noun. I have tried JAVA INFLECTOR. But it has very poor accuracy for nouns not following the regular rules.
Examples from JAVA INFLECTOR:
- paparazzo -> paparazzos
- criterion -> criterions
- tooth -> tooths
- thief -> thiefs
- loaf -> loafs
Stanford coreNLP lemmatizer is very good at plural to singular conversion. It takes care of many exceptional cases. As stated below:
Plural to singular from STANFORD LEMMATIZER:
- vertices -> vertex
- spectra -> spectrum
- alumni -> alumnus
- criteria -> criterion
- thieves -> thief
- geese -> goose
- fungi -> fungus
- loaves -> loaf.
But the problem is I don't know how to get plural from given singular using Stanford CoreNLP. The lemmatizer gives singular from plural.
So, basically I want to get plural from singular nouns using STANFORD NLP.
How can this be achieved?