inflect.js is a port of the functionality from Ruby on Rails' Active Support inflection classes into Javascript