Live data from Hacker News

Show HN: Duckling – Open-source datetime expression parsing

duckling-lib.org

1–10 of 70 posts

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

#3

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.

Thanks! Yes we should probably relax a little bit the lexical analysis to cope with typos, thanks for your feedback.

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

#7

This if off topic but how much does Wit use Clojure?

Probably too much :) All our backend is Clojure, all our new web developments are in ClojureScript (with React and Om). The only places we're not using Clojure are iOS, Android and Raspberry/embedded linux. We're using Rust more and more for the latter.

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

#8
post #7

This if off topic but how much does Wit use Clojure?

Probably too much :) All our backend is Clojure, all our new web developments are in ClojureScript (with React and Om). The only places we're not using Clojure are iOS, Android and Raspberry/embedded linux. We're using Rust more and more for the latter.

Wow this is very interesting. I have been following Wit's progress since I am quite a geek for all kinds of automation and AI stuff.

Would it be possible to port this into JavaScript using ClojureScript and use it on the client side?

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

#9

hah! 1/2/2014 is January 2nd. Take that, Europeans. Unless you are checking my IP address to guess the best convention...

This is just a demo website, but in a real use case you would pass a context (for instance with the user timezone, country...) with your library calls.

You can also try the same sentence in French, you'll get February first.

Post reply on HN