FindValuesOptions Class

Definition

Contains options used to control how choices are recognized in a users utterance.

public class FindValuesOptions
type FindValuesOptions = class
Public Class FindValuesOptions
Inheritance
FindValuesOptions
Derived

Constructors

FindValuesOptions()

Properties

AllowPartialMatches

Gets or sets a value indicating whether only some of the tokens in a value need to exist to be considered a match. The default value is "false". This is optional.

Locale

Gets or sets the locale/culture code of the utterance. The default is en-US. This is optional.

MaxTokenDistance

Gets or sets the maximum tokens allowed between two matched tokens in the utterance. So with a max distance of 2 the value "second last" would match the utterance "second from the last" but it wouldn't match "Wait a second. That's not the last one is it?". The default value is "2".

Tokenizer

Gets or sets the tokenizer to use when parsing the utterance and values being recognized.

Applies to