beginners

Chris Chen 2025-11-23T00:33:19.916789Z

Can anyone recommend a good, fast Clojure/JVM library for parsing natural-language expressions of time into structured data? Need something that can do absolute (e.g. "January 2nd 10:30AM"), relative ("yesterday evening") and range ("between Tuesday and Friday") references and annotate the precision of the statement (e.g. second/day/month/etc., so TIMEX3 standard compatibility is ideal)

Harold 2025-11-23T00:43:05.619189Z

In Ruby, we always used a library called 'chronic' for this. In ClojureScript we use a similar thing called Date.js A quick search popped up jchronic, maybe that's something to look at (haven't personally used it).

👍 2
dpsutton 2025-11-23T02:03:01.488449Z

Facebook had a clojure library for this a while back I think

dpsutton 2025-11-23T02:04:22.698469Z

https://github.com/facebookarchive/duckling_old

👍 1
🆒 1
Chris Chen 2025-11-23T02:34:53.248369Z

Thanks for the recs. The intended use case is medical transcription so there might be some "out-there" edge cases like "the pain started probably after dinner on Saturday" - which library do you feel might capture that best?

dpsutton 2025-11-23T02:35:13.365479Z

Oh. Llm for sure then

👍 2