Token(Int32, String, ValueTuple<Int32,Int32>) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Construisez un nouvel objet Token à l’aide de la valeur de jeton, id et du mappage de décalage à la chaîne d’origine.
public Token (int id, string value, (int, int) offset);
new Microsoft.ML.Tokenizers.Token : int * string * ValueTuple<int, int> -> Microsoft.ML.Tokenizers.Token
Public Sub New (id As Integer, value As String, offset As ValueTuple(Of Integer, Integer))
Paramètres
- id
- Int32
Valeur Id associée au jeton.
- value
- String
Valeur de chaîne de jeton.
- offset
- ValueTuple<Int32,Int32>
Mappage de décalage à la chaîne d’origine.