Inflector pluralizes and singularizes English nouns.
There are only two exported functions: Pluralize
and Singularize
.
fmt.Println(inflector.Singularize("People")) // will print "Person"
fmt.Println(inflector.Pluralize("octopus")) // will print "octopuses"
This library is distributed under the BSD-style license found in the LICENSE.md file.