k2-fsa_sherpa-onnx/pascal-api-examples
Fangjun Kuang 7e42ba2c0c
Add various languge bindings for Wenet non-streaming CTC models (#2584)
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
2025-09-10 18:52:18 +08:00
..
2025-08-08 20:10:36 +08:00
2025-07-12 19:49:52 +08:00

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.