从话语中提取日期 [英] Extracting dates out of utterances
问题描述
我的话语如下:
从2018年9月15日开始,每年的3月,6月,9月和12月15日,通过
2020年1月15日,没有任何调整
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
LUIS中是否有其他方法可以将日期提取为列表?
Is there any way in LUIS or any other way to extract the dates as a list :
例如:
15/12/2018
15/12/2018
15/03/2019
15/03/2019
15/06/2019
15/06/2019
15/09/2019
15/09/2019
推荐答案
你好!
您正在使用 实体可能有用.
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.
这篇关于从话语中提取日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!