Unfortunately it doesn't parse a Scottish colloquial expression such as "the next again day at 4pm". Which means in two days time at 4pm :)
Show HN: Duckling – Open-source datetime expression parsing
61–70 of 70 posts
Re: Show HN: Duckling – Open-source datetime expression parsing
#62Re: Show HN: Duckling – Open-source datetime expression parsing
#63I hit "try me" button, but it does not work, nothing happens.
Re: Show HN: Duckling – Open-source datetime expression parsing
#64 tomorrow at three thirty people are coming over
you may be a half hour late.Re: Show HN: Duckling – Open-source datetime expression parsing
#65If you're having a big party tomorrow at three thirty people are coming over you may be a half hour late.
[1] https://wit.ai
Re: Show HN: Duckling – Open-source datetime expression parsing
#66> Intervals (like June 12-13) I wrote a Python library to do things like >>> r = Recurrence('June-July 2014').intersect(Recurrence('Monday to Friday')) >>> datetime.date(2014, 6, 13) in r True >>> datetime.date(2014, 6, 14) in r False If anyone is interested in hacking on it with me, send me an email and I'll try to get it up on github.
Re: Show HN: Duckling – Open-source datetime expression parsing
#67Re: Show HN: Duckling – Open-source datetime expression parsing
#68Earlier quoted context omitted.
Even though the demo website expects the whole input to be a time expression, Duckling actually detects substrings inside a larger block of text. We've mostly used it on short sentences, but it should work on larger inputs, like articles. I'd recommend splitting very large inputs into sentences though.
Demo site updated, now shows partial parses.
Re: Show HN: Duckling – Open-source datetime expression parsing
#69If you're having a big party tomorrow at three thirty people are coming over you may be a half hour late.
It can be:
tomorrow at three thirty, people are coming over
or:
tomorrow at three, thirty people are coming overRe: Show HN: Duckling – Open-source datetime expression parsing
#70If you're having a big party tomorrow at three thirty people are coming over you may be a half hour late.
As a human, without a colon that thing is ambiguous. It can be: tomorrow at three thirty, people are coming over or: tomorrow at three, thirty people are coming over