Duckling time inner states

Hi Folks,

I have a quick question. Is there any way to get the “inner states” from duckling?

By “inner states” I mean these values:

So, I will get the datetime, which is great. But I would like to know the named-month, day-of-month ordinal, year integer. It is not enough to grab these from the datetime, because different strings can have the same datetime result: e.g.: “the first Monday in January”, “the 3rd in January”.

So I would like to know how duckling parsed the text and get those values. Any idea?


1 Like