Creates a recognition session.
#include "ltasr.h"
L_LTASR_API L_INT L_ASREngine_CreateRecognizer(engine, options, recognizer)
The speech recognition engine handle.
Pointer to a structure that contains the options to use when creating the recognizer.
Pointer to L_ASRRecognizer to be updated with the created recognizer.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
An engine can be attached to multiple recognizers.
When the speech recognizer referenced by recognizer
parameter is no longer needed, it must be freed by calling L_ASRRecognizer_Destroy.
x64.