sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
SherpaOnnxOfflineCohereTranscribeModelConfig Struct Reference

Configuration for a Cohere Transcribe model. More...

#include <c-api.h>

Public Attributes

const char * encoder
 
const char * decoder
 
const char * language
 
int32_t use_punct
 
int32_t use_itn
 

Detailed Description

Definition at line 879 of file c-api.h.

Member Data Documentation

◆ decoder

const char* SherpaOnnxOfflineCohereTranscribeModelConfig::decoder

Path to the decoder ONNX model.

Definition at line 883 of file c-api.h.

◆ encoder

const char* SherpaOnnxOfflineCohereTranscribeModelConfig::encoder

Path to the encoder ONNX model.

Definition at line 881 of file c-api.h.

◆ language

const char* SherpaOnnxOfflineCohereTranscribeModelConfig::language

Optional language hint, for example "en" or "zh".

Definition at line 885 of file c-api.h.

◆ use_itn

int32_t SherpaOnnxOfflineCohereTranscribeModelConfig::use_itn

Non-zero to enable inverse text normalization.

Definition at line 889 of file c-api.h.

◆ use_punct

int32_t SherpaOnnxOfflineCohereTranscribeModelConfig::use_punct

Non-zero to enable punctuation.

Definition at line 887 of file c-api.h.


The documentation for this struct was generated from the following file: