40 releases
| 0.6.8 | Oct 5, 2025 |
|---|---|
| 0.6.6 | Feb 25, 2025 |
| 0.6.1 | Dec 25, 2024 |
| 0.5.1 | Oct 25, 2024 |
| 0.1.7-beta.0 | Jul 13, 2024 |
#185 in Audio
625 downloads per month
3MB
72K
SLoC
sherpa-rs
Rust bindings to sherpa-onnx
Features
- Spoken language detection
- Speaker embedding (labeling)
- Speaker diarization
- Speech to text
- Text to speech
- Text punctuation
- Voice activity detection
- Audio tagging
- Keyword spotting
Supported Platforms
- Windows
- Linux
- macOS
- Android
- IOS
Install
cargo add sherpa-rs
Build
Please see BUILDING.md.
Feature flags
cuda: enable CUDA supportdirectml: enable DirectML supporttts: enable TTSdownload-binaries: use prebuilt sherpa-onnx libraries for faster builds. cached.static: use static sherpa-onnx libraries and link them statically.sys: expose raw c bindings (sys crate)
Documentation
For the documentation on sherpa_rs, please visit docs.rs/sherpa_rs.
For documentation on sherpa-onnx, refer to the sherpa/intro.html.
Examples
See examples
Models
All pretrained models available at sherpa/onnx/pretrained_models
Dependencies
~5–11MB
~112K SLoC