coqui_stt_sys

Function STT_EnableExternalScorer

Source
pub unsafe extern "C" fn STT_EnableExternalScorer(
    aCtx: *mut ModelState,
    aScorerPath: *const c_char,
) -> c_int
Expand description

@brief Enable decoding using an external scorer.

@param aCtx The ModelState pointer for the model being changed. @param aScorerPath The path to the external scorer file.

@return Zero on success, non-zero on failure (invalid arguments).