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

@@ -246,6 +246,8 @@ OfflineRecognizer OfflineRecognizer::Create(
c.model_config.fire_red_asr.decoder =
config.model_config.fire_red_asr.decoder.c_str();
c.model_config.dolphin.model = config.model_config.dolphin.model.c_str();
c.lm_config.model = config.lm_config.model.c_str();
c.lm_config.scale = config.lm_config.scale;