ailiaSpeechResetTranscribeState method
- Pointer<
AILIASpeech> net
It resets the network instance.
Parameters:
net: A network instance pointer
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
By calling this API, the internal state such as the previous decoding result is initialized. There is no need to reopen the model after calling this API. The states of ailiaSpeechOpenModelFile, ailiaSpeechSetIntermediateCallback, ailiaSpeechSetLanguage, ailiaSpeechSetSilentThreshold, ailiaSpeechSetPrompt are preserved.
Implementation
int ailiaSpeechResetTranscribeState(
ffi.Pointer<AILIASpeech> net,
) {
return _ailiaSpeechResetTranscribeState(
net,
);
}