Method DecodeStart
- Namespace
- LMKit.Tokenization
- Assembly
- LM-Kit.NET.dll
DecodeStart(IEnumerable<int>, int)
Transforms tokens into a human-readable format, retaining the start portion of the string up to a specified length.
public string DecodeStart(IEnumerable<int> tokens, int maxLength)
Parameters
tokens
IEnumerable<int>A collection of tokens to convert to string.
maxLength
intSpecifies the length of the expected substring.
Returns
- string
The decoded string value.