pub unsafe extern "C" fn SherpaOnnxCreateOnlineStreamWithHotwords(
recognizer: *const SherpaOnnxOnlineRecognizer,
hotwords: *const c_char,
) -> *const SherpaOnnxOnlineStream
Expand description
Create an online stream for accepting wave samples with the specified hot words.
@param recognizer A pointer returned by SherpaOnnxCreateOnlineRecognizer() @return Return a pointer to an OnlineStream. The user has to invoke SherpaOnnxDestroyOnlineStream() to free it to avoid memory leak.