Share via


FindValuesOptions.MaxTokenDistance Property

Definition

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".

public int? MaxTokenDistance { get; set; }
member this.MaxTokenDistance : Nullable<int> with get, set
Public Property MaxTokenDistance As Nullable(Of Integer)

Property Value

The maximum tokens allowed between two matched tokens in the utterance.

Applies to