All Projects → tenderlove → Namecase

tenderlove / Namecase

Licence: gpl-2.0
Properly case people's names

Programming Languages

ruby
36898 projects - #4 most used programming language

NameCase

https://rubygems.org/gems/namecase

Description

NameCase is a Ruby implementation of Lingua::EN::NameCase, a library for converting strings to be properly cased. This is good for converting denormalized data to human friendly data.

Example Usage

NameCase("RON BURGUNDY")  # => Ron Burgundy
NameCase("MCDONALDS")     # => McDonalds

Acknowledgements

This library is a port of the Perl library, and owes most of its functionality to the Perl version by Mark Summerfield. Any bugs in the Ruby port are my fault.

Author

Original Version: Copyright (c) Mark Summerfield 1998-2002. [email protected] All Rights Reserved

Ruby Version: Copyright (c) Aaron Patterson 2006

License

NameCase is distributed under the GPL license. Please see the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].