Function deepspeech_sys::DS_SetModelBeamWidth
source · [−]pub unsafe extern "C" fn DS_SetModelBeamWidth(
aCtx: *mut ModelState,
aBeamWidth: c_uint
) -> c_int
Expand description
@brief Set beam width value used by the model.
@param aCtx A ModelState pointer created with {@link DS_CreateModel}. @param aBeamWidth The beam width used by the model. A larger beam width value generates better results at the cost of decoding time.
@return Zero on success, non-zero on failure.