This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex_bi_series-sherpa-onnx/c-api-examples
Fangjun Kuang df4615ca1d Add C/CXX/JavaScript API for NeMo Canary models (#2357)
This PR introduces support for NeMo Canary models across C, C++, and JavaScript APIs 
by adding new Canary configuration structures, updating bindings, extending examples,
and enhancing CI workflows.

- Add OfflineCanaryModelConfig to all language bindings (C, C++, JS, ETS).
- Implement SetConfig methods and NAPI wrappers for updating recognizer config at runtime.
- Update examples and CI scripts to demonstrate and test NeMo Canary model usage.
2025-07-07 23:38:04 +08:00
..
2025-05-29 16:11:22 +08:00
2023-10-19 17:38:23 +08:00

Introduction

This folder contains C API examples for sherpa-onnx.

Please refer to the documentation https://k2-fsa.github.io/sherpa/onnx/c-api/index.html for details.

File descriptions

  • decode-file-c-api.c This file shows how to use the C API for speech recognition with a streaming model.

  • offline-tts-c-api.c This file shows how to use the C API to convert text to speech with a non-streaming model.