Re: Natural Language Date Processing.

2006-02-09 Thread John McMonagle
On Thu, 2006-02-09 at 09:47 +0100, Michael Amrhein wrote: > Andrew Gwozdziewycz schrieb: > >> You may take a look at http://labix.org/python-dateutil > >> Have fun > >> Michael > >> > > > > Looks like it does a good job parsing dates, but doesn't seem to do > > english dates. I found a javascript

Re: Natural Language Date Processing.

2006-02-09 Thread Michael Amrhein
Andrew Gwozdziewycz schrieb: >> You may take a look at http://labix.org/python-dateutil >> Have fun >> Michael >> > > Looks like it does a good job parsing dates, but doesn't seem to do > english dates. I found a javascript implementation of a few functions > that will probably be relatively easy

Re: Natural Language Date Processing.

2006-02-07 Thread Andrew Gwozdziewycz
> You may take a look at http://labix.org/python-dateutil > Have fun > Michael > Looks like it does a good job parsing dates, but doesn't seem to do english dates. I found a javascript implementation of a few functions that will probably be relatively easy to port to python. Whether or not it'll p

Re: Natural Language Date Processing.

2006-02-07 Thread Michael Amrhein
Andrew Gwozdziewycz schrieb: > I've been looking recently for date processing modules that can parse > dates in forms such as > "next week" or "6 days from next sunday". PHP has a function that will > do this called 'strtotime', > but I have not found a Python implementation. I've check the stan

Re: Natural Language Date Processing.

2006-02-07 Thread Steven Bethard
Andrew Gwozdziewycz wrote: > I've been looking recently for date processing modules that can parse > dates in forms such as "next week" or "6 days from next sunday". This is, in fact, a fairly difficult problem in general. See the TERN_ competition that's currently held yearly on this task. Th

Re: Natural Language Date Processing.

2006-02-07 Thread andychambers2002
>From the docs for PHP's 'strtotime' Parameters time The string to parse, according to the GNU Date Input Formats syntax. Before PHP 5.0, microseconds weren't allowed in the time, since PHP 5.0 they are allowed but ignored. ... It seems that the string to be parsed has to be provided in the GNU

Re: Natural Language Date Processing.

2006-02-07 Thread Andrew Gwozdziewycz
On 7 Feb 2006 05:51:40 -0800, [EMAIL PROTECTED] > It seems that the string to be parsed has to be provided in the GNU > date format. One option would be to provide a function that calls out > to the the GNU date program with whatever string you want to parse. Actually, I looked at the source of t

Natural Language Date Processing.

2006-02-07 Thread Andrew Gwozdziewycz
I've been looking recently for date processing modules that can parse dates in forms such as "next week" or "6 days from next sunday". PHP has a function that will do this called 'strtotime', but I have not found a Python implementation. I've check the standard date, datetime and time module