k2-fsa /sherpa-onnx

Speech-to-text, text-to-speech, speaker diarization, speech enhancement, source separation, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, HarmonyOS, Raspberry Pi, RISC-V, RK NPU, Axera NPU, Ascend NPU, x86_64 servers, websocket server/client, support 12 programming languages

★ 15,968⑂ 1,878👁 119⑃ 2,396● 1,659▤ 195
C++Apache-2.0Created 2022-09-01k2-fsa.github.io/sherpa/onnx/index.html
下载:Forced alignment (fa) modelsfa-models ↓fa-models2026-11-11
+21
日增长
15,968
stars
1,878
forks
119
watchers
2,396
prs
1,659
issues
195
releases

README

Supported functions

|Speech recognition| [Speech synthesis][tts-url] | [Source separation][ss-url] |
|------------------|------------------|-------------------|
|   ✔️              |         ✔️        |       ✔️           |

|Speaker identification| [Speaker diarization][sd-url] | Speaker verification |
|----------------------|-------------------- |------------------------|
|   ✔️                  |         ✔️           |            ✔️           |

| [Spoken Language identification][slid-url] | [Audio tagging][at-url] | [Voice activity detection][vad-url] |
|--------------------------------|---------------|--------------------------|
|                 ✔️              |          ✔️    |                ✔️         |

| [Keyword spotting][kws-url] | [Add punctuation][punct-url] | [Speech enhancement][se-url] |
|------------------|-----------------|--------------------|
|     ✔️            |       ✔️         |      ✔️             |


 Supported platforms

|Architecture| Android | iOS     | Windows    | macOS | linux | HarmonyOS |
|------------|---------|---------|------------|-------|-------|-----------|
|   x64      |  ✔️      |         |   ✔️      | ✔️    |  ✔️    |   ✔️   |
|   x86      |  ✔️      |         |   ✔️      |       |        |        |
|   arm64    |  ✔️      | ✔️      |   ✔️      | ✔️    |  ✔️    |   ✔️   |
|   arm32    |  ✔️      |         |           |       |  ✔️    |   ✔️   |
|   riscv64  |          |         |           |       |  ✔️    |        |

 Supported programming languages

| 1. C++ | 2. C  | 3. Python | 4. JavaScript |
|--------|-------|-----------|---------------|
|   ✔️    | ✔️     | ✔️         |    ✔️          |

|5. Java | 6. C | 7. Kotlin | 8. Swift |
|--------|-------|-----------|----------|
| ✔️      |  ✔️    | ✔️         |  ✔️       |

| 9. Go | 10. Dart | 11. Rust | 12. Pascal |
|-------|----------|----------|------------|
| ✔️     |  ✔️       |   ✔️      |    ✔️       |


It also supports WebAssembly.

 Supported frameworks

 [Flutter][flutter-url]

|Architecture| Android | iOS     | Windows | macOS | Linux | Web |
|------------|---------|---------|---------|-------|-------|-----|
|   x64      |  ✔️      |         |  ✔️     | ✔️    |  ✔️    |  ✔️  |
|   x86      |  ✔️      |         |         |       |       |  ✔️  |
|   arm64    |  ✔️      |  ✔️     |  ✔️     | ✔️    |  ✔️    |  ✔️  |
|   arm32    |  ✔️      |         |         |       |       |  ✔️  |

- Pre-built Flutter demo apps: [flutter releases][flutter-releases]

 [Tauri][tauri-url]

|Architecture| Android | iOS     | Windows | macOS | Linux |
|------------|---------|---------|---------|-------|-------|
|   x64      |  ✔️      |         |  ✔️     | ✔️    |  ✔️    |
|   x86      |  ✔️      |         |         |       |       |
|   arm64    |  ✔️      |  ✔️     |  ✔️     | ✔️    |  ✔️    |
|   arm32    |  ✔️      |         |         |       |       |

- Pre-built Tauri demo apps: [tauri releases][tauri-releases]

[flutter-url]: https://flutter.dev
[tauri-

Top issues

Discussions

Latest release

Forced alignment (fa) models fa-models 2026-11-11
Acoustic models and pronunciation dictionaries for forced alignment with
sherpa-onnx — English
(english_mfa v2.2.1 / v3.0.0 / v3.1.0) and Chinese
(aishell3_pinyin / biaobei_pinyin / large_pinyin).

Models, sources, package contents and usage are documented in
scripts/mfa/README.md.

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON