Interface IDetokenizer
A Detokenizer merges tokens back to their untokenized representation.
public interface IDetokenizer
Methods
Detokenize(string[])
Detokenize the input tokens.
DetokenizationOperation[] Detokenize(string[] tokens)
Parameters
tokensstring[]the tokens to detokenize.
Returns
- DetokenizationOperation[]
the merge operations to detokenize the input tokens.
Detokenize(string[], string?)
Detokenize the input tokens into a String. Tokens which are connected without a space inbetween can be separated by a split marker.
string Detokenize(string[] tokens, string? splitMarker)
Parameters
Returns
- string
the concatenated tokens