EvoInflector implements English pluralization algorithm based on Damian Conway’s paper “An Algorithmic Approach to English Pluralization”.
The tests performed (December 2011) based on data from Wiktionary show perfect results for 1000 basic words and 70% of corrects answers for the entire Wiktionary set of more than 100000 words.
Words checked: 108774 (979 basic words) Correct: 69.92112% (100.0% basic words)
(If you are curious this test is part of the unit tests)
will print “words”. You can download the library from here or use the following Maven dependency:
<dependency> <groupId>org.atteo</groupId> <artifactId>evo-inflector</artifactId> <version>1.0.1</version> </dependency>