Udostępnij przez


Tokenizer.Decode Metoda

Definicja

Przeciążenia

Decode(IEnumerable<Int32>, Boolean)

Zdekoduj podane identyfikatory, wróć do ciągu.

Decode(Int32, Boolean)

Dekoduje identyfikator do zamapowanego tokenu.

Decode(IEnumerable<Int32>, Boolean)

Zdekoduj podane identyfikatory, wróć do ciągu.

public string? Decode (System.Collections.Generic.IEnumerable<int> ids, bool skipSpecialTokens = false);
member this.Decode : seq<int> * bool -> string
Public Function Decode (ids As IEnumerable(Of Integer), Optional skipSpecialTokens As Boolean = false) As String

Parametry

ids
IEnumerable<Int32>

Lista identyfikatorów, które chcemy zdekodować.

skipSpecialTokens
Boolean

Czy tokeny specjalne powinny zostać usunięte z zdekodowanego ciągu.

Zwraca

Zdekodowany ciąg.

Dotyczy

Decode(Int32, Boolean)

Dekoduje identyfikator do zamapowanego tokenu.

public string? Decode (int id, bool skipSpecialTokens = false);
member this.Decode : int * bool -> string
Public Function Decode (id As Integer, Optional skipSpecialTokens As Boolean = false) As String

Parametry

id
Int32

Identyfikator do mapowania na token.

skipSpecialTokens
Boolean

Wskaż, czy chcesz pominąć specjalne tokeny podczas dekodowania.

Zwraca

Zdekodowany ciąg lub wartość null, jeśli nie ma tokenu mapowanego na identyfikator wejściowy.

Dotyczy