Rust bindings to sherpa-onnx
- Spoken language detection
- Speaker embedding (labeling)
- Speaker diarization
- Speech to text
- Text to speech
- Text punctuation
- Voice activity detection
- Audio tagging
- Keyword spotting
- Windows
- Linux
- macOS
- Android
- IOS
cargo add sherpa-rs
Please see BUILDING.md.
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)
For the documentation on sherpa_rs
, please visit docs.rs/sherpa_rs.
For documentation on sherpa-onnx
, refer to the sherpa/intro.html.
See examples
All pretrained models available at sherpa/onnx/pretrained_models