inflector.js
Transforms words to singular or plural.
This is a (not complete) js port of inflector class by Randall Hauch.
Installing And Usage
$ bower install inflectorAdd this to your HTML file:
<script src="bower_components/inflector/dist/inflector.min.js"></script>Use it like this:
inflector.pluralize("airplane"); // returns airplanes
inflector.singularize("videos"); // returns videoNote:
I'm not a linguist, and there are some errors.
Use at your own risk, debug me and send pull requests.