Condividi tramite


MicrosoftLanguageTokenizer.MaxTokenLength Property

Definition

Gets or sets the maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255.

[Newtonsoft.Json.JsonProperty(PropertyName="maxTokenLength")]
public int? MaxTokenLength { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxTokenLength")>]
member this.MaxTokenLength : Nullable<int> with get, set
Public Property MaxTokenLength As Nullable(Of Integer)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to