I\'m trying to parse strings containing (natural language) times to hh:mm time objects? For example:
\"ten past five\"
\"quarter to three\"
\"half p
parsedatetime looks promising. Credit.
I didn't feel like extending parsedatetime, so I decided to use pyPEG, a parser interpreter framework for Python, to write a dedicated time parser. For whoever's interested, the first basic version is now finished, and nicely parses Dutch time strings.
Just for anyone who is interested, I found this:
https://gist.github.com/akatzbreaker/5849024
This is the same as Bert's Anwser on Github, but it is in English... Just for anyone who is interested on this, and doesn't know Dutch :-P ...