• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Convert spelled out numbers to digits?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert spelled out numbers to digits?


  • Subject: Re: Convert spelled out numbers to digits?
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Thu, 28 Mar 2013 12:57:08 -0400

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@hidden> wrote:

> On Mar 28, 2013, at 6:57 AM, Kirk <email@hidden> 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@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Convert spelled out numbers to digits?
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: Convert spelled out numbers to digits? (From: Kirk <email@hidden>)
 >Re: Convert spelled out numbers to digits? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Convert spelled out numbers to digits? (From: Kirk <email@hidden>)
 >Re: Convert spelled out numbers to digits? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Convert spelled out numbers to digits? (From: Kirk <email@hidden>)
 >Re: Convert spelled out numbers to digits? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Convert spelled out numbers to digits?
  • Next by Date: Re: Convert spelled out numbers to digits?
  • Previous by thread: Re: Convert spelled out numbers to digits?
  • Next by thread: Re: Convert spelled out numbers to digits?
  • Index(es):
    • Date
    • Thread