views:

85

answers:

3

I'm wondering if someone could lead me to any examples of natural language parsing for to do lists. Nothing as intense as real Natural Language Parsing, but something that could process the line:

Go to George's house at 3pm on Tuesday with Kramer

as well as the line:

3 on tuesday go to georges

and get the same output.

I've seen other to do applications that do this sort of work in the past. Is there anything out there with examples or have people just custom written this code themselves?

A: 

Somebody pointed out this natural language parsing on this site..kudos to whoever you are for posting the link...http://code.gustavonarea.net/booleano/

tommieb75
A: 

That's a great idea! As you might imagine this is vastly complex and can be approached in many different ways. Perhaps check out the Natural Language Toolkit for starters, which is mostly python but also requires building some Ocaml and Java components. I also recommend reading some books and or papers on lexical semantics.

rplevy
A: 

I wrote something similar to this in Perl. The input would be a day/time with the name of some action. Sentences like: "3pm Run full unit test suite", "reboot servers on dec 25", etc.

I used the Perl module Date::Manip since it's awesome for this sort of thing and coded the rest of the logic manually.

Ben S
Care to share your code as an example for those of us who want to learn?
Pselus
I'd love to, but it was for a past employer :|
Ben S