pub unsafe extern "C" fn STT_EnableExternalScorerFromBuffer(
aCtx: *mut ModelState,
aScorerBuffer: *const c_char,
aBufferSize: c_uint,
) -> c_int
Expand description
@brief Enable decoding using an external scorer loaded from a buffer.
@param aCtx The ModelState pointer for the model being changed. @param aScorerBuffer The buffer containing the content of an external-scorer file. @param aBufferSize Size of scorer buffer.
@return Zero on success, non-zero on failure (invalid arguments).