Re: Natural Language DateTimes

2003-07-13 Thread Dave Rolsky
On Sat, 13 Jul 2003, Rick Measham wrote: > On Sat, 12 Jul 2003, Ben Bennett wrote: > > Does it understand 1/3/2003? If so, how does it resolve the day and > > month ambiguity? > > > On Sun, 2003-07-13 at 12:46, Dave Rolsky wrote: > > Ideally, it'd be an attribute of the locale. I bet we could fi

Re: Natural Language DateTimes

2003-07-13 Thread Rick Measham
> On Sat, 13 Jul 2003, Rick Measham wrote: > > Dave, the 'locale' parameter will take an object or a name (just like DT > > itself does IIRC). From this we get the standard formats understood in > > that locale. However if we construct using language=>'EN', then we set > > the standard short format

Re: Natural Language DateTimes

2003-07-13 Thread Dave Rolsky
On Sun, 13 Jul 2003, Rick Measham wrote: > > On Sun, 2003-07-13 at 17:09, Dave Rolsky wrote: > > Now I'm confused. Are you proposing that there be a language parameter > > _and_ a locale parameter? > > Hmmm .. well I was going to make it a case of 'use one or the other', > but on second thoughts

Re: Natural Language DateTimes

2003-07-13 Thread John Peacock
Rick Measham wrote: In fact the only unsolvable I've had so far is with a phrase like "It was twelve fifteen". This could mean it was the year 1215 or that it was a quarter past 12. Deciding which seems to be impossible! Except that I think, in colloquial English at least, no one refers to the year

Re: Natural Language DateTimes

2003-07-13 Thread Rick Measham
On Mon, 2003-07-14 at 03:07, John Peacock wrote: > Rick Measham wrote: > > In fact the only unsolvable I've had so far is with a phrase like "It > > was twelve fifteen". This could mean it was the year 1215 or that it was > > a quarter past 12. Deciding which seems to be impossible! > > Except tha

Re: Natural Language DateTimes

2003-07-13 Thread Iain Truskett
* John Peacock ([EMAIL PROTECTED]) [14 Jul 2003 03:07]: [...] > Except that I think, in colloquial English at least, no > one refers to the year as "twelve fifteen" except > verbally. I'll be very interested in seeing your module... So it's a possibility if we were parsing reported speech? Perso

Re: Natural Language DateTimes

2003-07-14 Thread John Peacock
Rick Measham wrote: Except that I think, in colloquial English at least, no one refers to the year as "twelve fifteen" except verbally. OK, is "It was nineteen forty-seven" 1947-00-00 or 19:47:00? The latter. As I said, the only instance of using spelled out years that I can imagine in norma