mirror of
https://github.com/k2-fsa/sherpa-onnx.git
synced 2026-01-09 07:41:06 +08:00
This PR adds support for Wenet non-streaming CTC models to sherpa-onnx by introducing the SherpaOnnxOfflineWenetCtcModelConfig struct and integrating it across all language bindings and APIs. The implementation follows the same pattern as other CTC model types like Zipformer CTC. - Introduces SherpaOnnxOfflineWenetCtcModelConfig struct with a single model field for the ONNX model path - Adds the new config to SherpaOnnxOfflineModelConfig and updates all language bindings (C++, Pascal, Kotlin, Java, Go, C#, Swift, JavaScript, etc.) - Provides comprehensive examples and tests across all supported platforms and languages
Introduction
This directory contains examples for how to use the Object Pascal APIs of sherpa-onnx.
Documentation for this directory: https://k2-fsa.github.io/sherpa/onnx/pascal-api/index.html
| Directory | Description |
|---|---|
| read-wav | It shows how to read a wave file. |
| speaker-diarization | It shows how to use Pascal API for speaker diarization. |
| streaming-asr | It shows how to use streaming models for speech recognition. |
| non-streaming-asr | It shows how to use non-streaming models for speech recognition. |
| vad | It shows how to use the voice activity detection API. |
| vad-with-non-streaming-asr | It shows how to use the voice activity detection API with non-streaming models for speech recognition. |
| portaudio-test | It shows how to use PortAudio for recording and playing. |
| tts | It shows how to use the text-to-speech API. |