Share via


BpeDecoder.Decode(IEnumerable<String>) Method

Definition

Decode the original BPE by joining all the tokens and then replacing the suffix used to identify end-of-words by white spaces.

public override string Decode (System.Collections.Generic.IEnumerable<string> tokens);
override this.Decode : seq<string> -> string
Public Overrides Function Decode (tokens As IEnumerable(Of String)) As String

Parameters

tokens
IEnumerable<String>

The list of tokens to merge.

Returns

The string containing all merged tokens.

Applies to