Add C and CXX API for Dolphin CTC models (#2088)

This commit is contained in:
Fangjun Kuang
2025-04-02 21:54:20 +08:00
committed by GitHub
parent eee5575836
commit da4aad1189
12 changed files with 231 additions and 5 deletions

View File

@@ -229,6 +229,10 @@ struct SHERPA_ONNX_API OfflineSenseVoiceModelConfig {
bool use_itn = false;
};
struct SHERPA_ONNX_API OfflineDolphinModelConfig {
std::string model;
};
struct SHERPA_ONNX_API OfflineMoonshineModelConfig {
std::string preprocessor;
std::string encoder;
@@ -254,6 +258,7 @@ struct SHERPA_ONNX_API OfflineModelConfig {
OfflineSenseVoiceModelConfig sense_voice;
OfflineMoonshineModelConfig moonshine;
OfflineFireRedAsrModelConfig fire_red_asr;
OfflineDolphinModelConfig dolphin;
};
struct SHERPA_ONNX_API OfflineLMConfig {