Pluralizing in ColdFusion
A few (ok, ten) years ago, I needed to generically pluralize English words in ColdFusion. Also, I wanted to be able to reverse that out ("singularize" as it were). This should be a really easy problem: If it ends with an "s" then add "es"; If it ends with a "y" then ditch the "y"; Otherwise just add "s". It turns out, though, that English is delightfully complicated.
So, Pluralizer.
I created it ten years ago, and I've used a fair number of times since. It isn't complicated enough that I've needed to update it much in that time.
https://github.com/TeamCFML/teamcfml-inflector
Sorry I missed your comment earlier. I haven't compared to other libraries. I didn't even know that one existed. Honestly, I think it looks better than mine. Very nice!