Method DecodeEnd
- Namespace
- LMKit.Tokenization
- Assembly
- LM-Kit.NET.dll
DecodeEnd(IEnumerable<int>, int)
Transforms tokens into a human-readable format, retaining the end portion of the string up to a specified length.
public string DecodeEnd(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.