Function deepspeech_sys::DS_AddHotWord
source · [−]pub unsafe extern "C" fn DS_AddHotWord(
aCtx: *mut ModelState,
word: *const c_char,
boost: f32
) -> c_int
Expand description
@brief Add a hot-word and its boost.
@param aCtx The ModelState pointer for the model being changed. @param word The hot-word. @param boost The boost.
@return Zero on success, non-zero on failure (invalid arguments).