Friday, 15 March 2013

ruby on rails - Capitalization API -



ruby on rails - Capitalization API -

is there api or service handles capitalization well? should able handle input "i need help fixing iphone asap" desired output of "i need help fixing iphone asap".

edit: in conjunction titleize. titleize doesn't handle words "iphone" , acronyms. i'm getting user input "ceo" , titleize returns "ceo", when i'd "ceo". i'd prefer not write list of special capitalizations, if there alternative.

another alternative library of words , right capitalization.

have @ #titleize in activesupport::inflector

ruby-on-rails

No comments:

Post a Comment