<a href="http://tasker.wikidot.com/getnaturallanguage">Natural Language Processing</a>
is too pure.
That's good stuff. The Maluuba api is pretty restricted, and mostly good for common personal assistant type commands. I definitely need to use customizable command sets outside of the api. At the moment, I'm using the Autovoice plugin, which triggers profiles based on what you say, to handle out-of-api commands. I'll definitely be studying your script for more options.
You did give me an idea, though. I'm going to try and see if I can pass a phrase through a grammar or a makes-sense check before I parse it. I'd be very surprised if there wasn't an accessible way to do so.
The project on the wiki includes a task for each of the actions present at the time I wrote it. They are skeletons, though. You'll need to add in what you want each to do. The main task that does the parsing is self contained. It handles all of the api.
You will need to get an api key from Maluuba. There are links for that in the wiki, and in the comments in the task. Some of their documentation impress you need to wait for the key, but it was actually instant.
So, in essence, get an api key, import the project from the wiki, feed it a phrase, do cool stuff with the results.
I know its been a long time since this post has been created and there are hell lot of APIs (wit.ai, api.ai) which understand NL and gives us some context on what the user is trying to convey.