Tokenizer.Decode 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Decode(IEnumerable<Int32>, Boolean) |
지정된 ID를 다시 문자열로 디코딩합니다. |
Decode(Int32, Boolean) |
ID를 매핑된 토큰으로 디코딩합니다. |
Decode(IEnumerable<Int32>, Boolean)
지정된 ID를 다시 문자열로 디코딩합니다.
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
매개 변수
- ids
- IEnumerable<Int32>
디코딩하려는 ID 목록입니다.
- skipSpecialTokens
- Boolean
특수 토큰을 디코딩된 문자열에서 제거해야 하는지 여부입니다.
반환
디코딩된 문자열입니다.
적용 대상
Decode(Int32, Boolean)
ID를 매핑된 토큰으로 디코딩합니다.
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
매개 변수
- id
- Int32
토큰에 매핑할 ID입니다.
- skipSpecialTokens
- Boolean
디코딩하는 동안 특수 토큰을 건너뛸지 여부를 나타냅니다.
반환
입력 ID에 매핑된 토큰이 없는 경우 디코딩된 문자열 또는 null입니다.