Commit Graph

23 Commits

Author SHA1 Message Date
Fangjun Kuang
3bf986d08d Support non-streaming zipformer CTC ASR models (#2340)
This PR adds support for non-streaming Zipformer CTC ASR models across 
multiple language bindings, WebAssembly, examples, and CI workflows.

- Introduces a new OfflineZipformerCtcModelConfig in C/C++, Python, Swift, Java, Kotlin, Go, Dart, Pascal, and C# APIs
- Updates initialization, freeing, and recognition logic to include Zipformer CTC in WASM and Node.js
- Adds example scripts and CI steps for downloading, building, and running Zipformer CTC models

Model doc is available at
https://k2-fsa.github.io/sherpa/onnx/pretrained_models/offline-ctc/icefall/zipformer.html
2025-07-04 15:57:07 +08:00
Fangjun Kuang
85df96d528 Add Dart API for homophone replacer (#2167) 2025-04-30 23:15:28 +08:00
Fangjun Kuang
07a5701af6 Add Dart API for Dolphin CTC models (#2095) 2025-04-03 15:59:38 +08:00
Fangjun Kuang
fd78a482df Add Dart API for speech enhancement GTCRN models (#1993) 2025-03-12 12:39:08 +08:00
Fangjun Kuang
b5d89d7bcb Add Dart API for FireRedAsr AED Model (#1877) 2025-02-17 15:17:08 +08:00
Fangjun Kuang
35f5ff3166 Add Dart API for Kokoro TTS 1.0 (#1806) 2025-02-07 15:53:13 +08:00
Fangjun Kuang
4335e2accd Add Dart API for Kokoro TTS models (#1723) 2025-01-16 17:58:19 +08:00
Fangjun Kuang
d7c95d33a3 Add Dart API for MatchaTTS models (#1687) 2025-01-06 11:03:31 +08:00
Fangjun Kuang
54468a7370 Add Dart API for Moonshine models. (#1481) 2024-10-27 12:04:12 +08:00
Fangjun Kuang
1ed803adc1 Dart API for speaker diarization (#1418) 2024-10-11 21:17:41 +08:00
Fangjun Kuang
a2a70900d6 ADD VAD+ASR example for dart with CircularBuffer. (#1293) 2024-08-27 19:29:34 +08:00
Fangjun Kuang
ec98110e11 Add speaker identification and verification exmaple for Dart API (#1194) 2024-07-31 13:53:52 +08:00
Fangjun Kuang
646f99c870 Dart API for adding punctuations to text (#1182) 2024-07-29 12:41:52 +08:00
Fangjun Kuang
cd1fedaa49 Add Dart API for audio tagging (#1181) 2024-07-29 11:15:14 +08:00
Fangjun Kuang
69b6b47d91 Add vad with non-streaming ASR examples for Dart API (#1180) 2024-07-28 23:01:03 +08:00
Fangjun Kuang
ac8223bd8a Add Dart API for keyword spotter (#1162) 2024-07-22 10:53:34 +08:00
Fangjun Kuang
ffdb23a8ec Add dart API for SenseVoice (#1159) 2024-07-21 21:48:12 +08:00
Fangjun Kuang
a25075101c Build sherpa-onnx as a single shared library (#1078)
When `-D BUILD_SHARED_LIBS=ON` is passed to `cmake`, it builds a single shared library.

Specifically, 

- For C APIs, it builds `libsherpa-onnx-c-api.so`
- For Python APIs, it builds `_sherpa_onnx.cpython-xx-xx.so`
- For Kotlin and Java APIs, it builds `libsherpa-onnx-jni.so`

There is no `libsherpa-onnx-core.so` any longer.

Note it affects only shared libraries.
2024-07-06 16:41:54 +08:00
Fangjun Kuang
6789c909d2 Inverse text normalization API of streaming ASR for various programming languages (#1022) 2024-06-18 13:42:17 +08:00
Fangjun Kuang
6e09933d99 Inverse text normalization API for other programming languages (#1019) 2024-06-17 17:02:39 +08:00
Fangjun Kuang
e52d32b95b Add TTS API and examples for Dart (#1010) 2024-06-15 14:30:36 +08:00
Fangjun Kuang
e3077670c6 Add streaming ASR examples for Dart API (#1009) 2024-06-15 11:48:54 +08:00
Fangjun Kuang
d94506698d Add non-streaming ASR examples for Dart API (#1007) 2024-06-14 18:40:16 +08:00