Live data from Hacker News

Show HN: Duckling – Open-source datetime expression parsing

duckling-lib.org

21–30 of 70 posts

Re: Show HN: Duckling – Open-source datetime expression parsing

#22
post #20

I'm impressed. I thought I'd try it with `next wednesday at 20 to 3 in the afternoon`. It understood! It didn't understand if I used `afternon`. Perhaps as an improvement it could try selecting the most likely word from misspellings.

I don't even understand that. What time period is that meant to specify?

20 to 3 in the afternoon = 2:40 PM

Re: Show HN: Duckling – Open-source datetime expression parsing

#23
post #18

Nice tool! Feedback: I shared it to a friend and his reaction was "bah, it doesn't even work with the example suggested". Meaning, he saw the placeholder and pressed enter.

Yes, the placeholder is misleading in that it looks like it's been entered into the textbox already and I only need to click "Try me!", but actually I need to type it out first.

It could at least detect that the input is empty instead of saying it failed to parse the input!

Re: Show HN: Duckling – Open-source datetime expression parsing

#25
post #18

Nice tool! Feedback: I shared it to a friend and his reaction was "bah, it doesn't even work with the example suggested". Meaning, he saw the placeholder and pressed enter.

Yes, the placeholder is misleading in that it looks like it's been entered into the textbox already and I only need to click "Try me!", but actually I need to type it out first. It could at least detect that the input is empty instead of saying it failed to parse the input!

You're right, fixing it now.

Re: Show HN: Duckling – Open-source datetime expression parsing

#27

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 :)

I'm very excited about supporting Scottish colloquial expressions! Working on it now, thanks :)

Re: Show HN: Duckling – Open-source datetime expression parsing

#29
post #22
post #20

Earlier quoted context omitted.

I don't even understand that. What time period is that meant to specify?

20 to 3 in the afternoon = 2:40 PM

Oooh, "twenty minutes until three". I typically use until or shorten it to 'till. But I've seen/heard to as well.
Post reply on HN