Is there a way, in Objective-C/Cocoa, to convert spelled out words to an NSNumber
or equivalent in multiple languages?
For example:
convert three
to 3
or convert ocho
to 8
(Spanish).
Also slightly different, but 3 1/2
to 3.5
I could write my own code to do this, but I was hoping there was a built-in way to do this. Getting the translations of every number in several languages is something I'd like to avoid.