Rails-like inflection library for Clojure and ClojureScript.
Via Clojars: http://clojars.org/inflections.
(use 'inflections.core)
(plural "word")
;=> "words"
(plural "virus")
;=> "viri"
(singular "apples")
;=> "apple"
(singular "octopi")
;=> "octopus"
(underscore "puni-puni")
;=> "puni_puni"
(ordinalize "52")
;=> "52nd"
(capitalize "clojure")
;=> "Clojure"
Copyright (C) 2013 Roman Scherer
Distributed under the Eclipse Public License, the same as Clojure.