Re: Natural language

2011-11-17 Thread Luca Ciciriello
Thanks for your answer. This solve my problem :-) Luca. On Nov 17, 2011, at 5:39 PM, Douglas Davidson wrote: > > On Nov 17, 2011, at 7:51 AM, Luca Ciciriello wrote: > >> but if i analyze the phrase: "I am a man" I got the result: >> >> I --> otherword >> am --> otherword >> a --> otherword >>

Re: Natural language

2011-11-17 Thread Douglas Davidson
On Nov 17, 2011, at 7:51 AM, Luca Ciciriello wrote: > but if i analyze the phrase: "I am a man" I got the result: > > I --> otherword > am --> otherword > a --> otherword > man --> otherword. > > I've initialized the NSLinguisticTagger class as follow: > > NSArray *tagScheme = [NSArray > arr

Re: Natural language

2011-11-17 Thread Luca Ciciriello
> On Nov 14, 2011, at 7:02 AM, Luca Ciciriello wrote: > >> Yes, indeed!!! >> >> On Nov 14, 2011, at 2:56 PM, Eric E. Dolecki wrote: >> >>> Just started watching this video - it's awesome. >>> >>> - Eric >>> >>> On Mon

Re: Natural language

2011-11-14 Thread Luca Ciciriello
awesome. >>> >>> - Eric >>> >>> On Mon, Nov 14, 2011 at 3:32 AM, Luca Ciciriello >>> wrote: >>> >>> Thanks Vincent, that should solve my problems. >>> Luca. >>> >>>> Subject: Re: Natural language >&

Re: Natural language

2011-11-14 Thread Douglas Davidson
hing this video - it's awesome. >> >> - Eric >> >> On Mon, Nov 14, 2011 at 3:32 AM, Luca Ciciriello >> wrote: >> >> Thanks Vincent, that should solve my problems. >> Luca. >> >>> Subject: Re: Natural language >>> From: m

Re: Natural language

2011-11-14 Thread Luca Ciciriello
Yes, indeed!!! On Nov 14, 2011, at 2:56 PM, Eric E. Dolecki wrote: > Just started watching this video - it's awesome. > > - Eric > > On Mon, Nov 14, 2011 at 3:32 AM, Luca Ciciriello > wrote: > > Thanks Vincent, that should solve my problems. > Luca. >

Re: Natural language

2011-11-14 Thread Eric E. Dolecki
Just started watching this video - it's awesome. - Eric On Mon, Nov 14, 2011 at 3:32 AM, Luca Ciciriello < luca_cicirie...@hotmail.com> wrote: > > Thanks Vincent, that should solve my problems. > Luca. > > > Subject: Re: Natural language > > From: mailingli...

RE: Natural language

2011-11-14 Thread Luca Ciciriello
Thanks Vincent, that should solve my problems. Luca. > Subject: Re: Natural language > From: mailingli...@satsumac.com > Date: Sun, 13 Nov 2011 21:37:01 +0100 > CC: cocoa-dev@lists.apple.com > To: luca_cicirie...@hotmail.com > > The "Advanced Text Processing" ses

Re: Natural language

2011-11-13 Thread Vincent
The "Advanced Text Processing" session from WWDC '11 should be of help. https://developer.apple.com/videos/wwdc/2011/ On Nov 13, 2011, at 4:31 PM, Luca Ciciriello wrote: > Hi All. > Any one knows how to use the class NSLinguisticTagger in order to decompose a > phrase in its grammar components (

Natural language

2011-11-13 Thread Luca Ciciriello
Hi All. Any one knows how to use the class NSLinguisticTagger in order to decompose a phrase in its grammar components (name, adjective, verb, etc.)? Thanks for any answer. Luca.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not pos

displaying natural language time intervals

2009-06-26 Thread Andy Lee
I feel like this has been asked on cocoa-dev before, but I haven't found it. I want to be able to display a date as "3 seconds ago", "1 hour ago", etc. I could roll my own solution but I wonder if someone has already made some classes available to do this? It would be nice if there is a built-

Re: NSDates and natural language ...

2009-03-30 Thread Mic Pringle
nt Demaret : > Hello, > > > Mic Pringle wrote: > >> any frameworks/classes that have been released that >> allow you to return natural language from a date ? > NSDateFormatter ? > > My firs answer on this list, l hope it's a good one... > __

Re: NSDates and natural language ...

2009-03-30 Thread Laurent Demaret
Hello, Mic Pringle wrote: > any frameworks/classes that have been released that > allow you to return natural language from a date ? NSDateFormatter ? My firs answer on this list, l hope it's a good one... ___ Cocoa-dev mailing list

NSDates and natural language ...

2009-03-30 Thread Mic Pringle
Hi, Is anyone aware of any frameworks/classes that have been released that allow you to return natural language from a date ? What I mean by this is if, for example, I pass todays date it would return 'Today', yesterdays date would return 'Yesterday', 25th March 08 would re