Table of Contents

Class NativeAPI.DetokenizeResult

public static class NativeAPI.DetokenizeResult
Inheritance
object
NativeAPI.DetokenizeResult

Methods

litert_lm_detokenize_result_delete(nint)

Destroys a LiteRT LM Detokenize Result.

public static extern void litert_lm_detokenize_result_delete(nint result)

Parameters

result nint

The detokenize result to destroy.

litert_lm_detokenize_result_get_string(nint)

Returns the string from a detokenize result.

public static extern nint litert_lm_detokenize_result_get_string(nint result)

Parameters

result nint

The detokenize result.

Returns

nint

The detokenized string. The returned string is owned by the DetokenizeResult object and is valid only for its lifetime.