Hi John,
I went through the dateutil package which I found on the web. the link is http://labix.org/python-dateutil#head-42a94eedcff96da7fb1f77096b5a3b519c859ba9
This does not understand natural language.

They use the following command to get the same date of the Next Month :
NOW+relativedelta(months=+1)
The output is in the datetime format.
And the program on date parsing which Bear has already done, takes the command
cal.parse("next month")
The output is in seconds from the sourcetime(which can be specified or is 
assumed to be the current datetime otherwise).Currently this program is not 
complete and accurate. I am working on it.

Now , what we require for NL date parsing is to be able to take the natural 
language input (like Bear's code) and give the output in datetime(like dateutil 
package)

So I was thinking to write a wrapper around the dateutil which help me use it 
the way we want to.
is it the right approach? Other suggestions are welcome.
Thanks,
Darshana


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to