DateTimeSpec Class

Definition

Represents the built-in LUIS date-time type.

public class DateTimeSpec
type DateTimeSpec = class
Public Class DateTimeSpec
Inheritance
DateTimeSpec

Remarks

LUIS recognizes time expressions like "next monday" and converts those to a type and set of timex expressions. More information on timex can be found here: http://www.timeml.org/publications/timeMLdocs/timeml_1.2.1.html#timex3. More information on the library which does the recognition can be found here: https://github.com/Microsoft/Recognizers-Text.

Constructors

DateTimeSpec(String, IEnumerable<String>)

Initializes a new instance of the DateTimeSpec class.

Properties

Expressions

Gets Timex expressions.

Type

Gets type of expression.

Methods

ToString()

Returns a string that represents the current object.

Applies to