DateTimeSpec 类

定义

表示内置的 LUIS 日期时间类型。

public class DateTimeSpec
type DateTimeSpec = class
Public Class DateTimeSpec
继承
DateTimeSpec

注解

LUIS 识别“下星期一”等时间表达式,并将这些表达式转换为一个类型和一组 timex 表达式。 有关 timex 的详细信息,可在此处找到: http://www.timeml.org/publications/timeMLdocs/timeml_1.2.1.html#timex3. 有关执行识别的库的详细信息,可在此处找到: https://github.com/Microsoft/Recognizers-Text.

构造函数

DateTimeSpec(String, IEnumerable<String>)

初始化 DateTimeSpec 类的新实例。

属性

Expressions

获取 Timex 表达式。

Type

获取表达式的类型。

方法

ToString()

表示内置的 LUIS 日期时间类型。

适用于