In my particular case I don't need to use CFStringTokenizer since this won't be using anything but English. It's a valid general point however.
Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki Imagineric <http://imagineric.ericd.net> On Thu, Mar 28, 2013 at 11:48 AM, Kyle Sluder <[email protected]> wrote: > On Mar 28, 2013, at 6:57 AM, Kirk <[email protected]> wrote: > > > Simplistically: > > > > Parse words of text into an array of words.(Or an array of NSRanges) > > Do not do this yourself. Use CFStringTokenizer. > > > > > Test each word for "numberness" (non-nil return) using NSNumberFormatter. > > I don't think this is going to work. For example, in Spanish, “ciento” is > the counting word for “hundred,” but “cien” is the adjective, and is also > used when combining with “mil” (“thousand”). > > --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
