Extracting dates out of utterances

Category: language understanding intelligent service (luis)

Question

SNMT on Fri, 19 Oct 2018 12:29:05


I have an utterance as follows : 

The 15th day of March, June, September and December of each year, commencing September 15, 2018, through and including
the January 15th, 2020 with No Adjustment

Is there any way in LUIS or any other way to extract the dates as a list : 

For Eg :

15/12/2018

15/03/2019

15/06/2019

15/09/2019

Replies

Cody Farmer - MSFT on Fri, 19 Oct 2018 19:26:27


Hello!

You're looking for the Data Extraction using Prebuilt Entities, specifically entities of the type builtin.datetimeV2.date. You can open up the regex to more than just extracting the year in this example. There's a lot of other prebuilt entities that might be useful. 

You can read about adding the entities in our documentation also.