thewh1teagle/sherpa-rs · 文件 下载 ZIP
文件最后提交记录最后更新时间
README.md
sherpa-rs
Rust bindings to sherpa-onnx
⚠️ Deprecated
This crate is deprecated.
The upstream project sherpa-onnx now provides an official Rust API, so this repository is no longer maintained.
Please use the official Rust bindings instead: https://github.com/k2-fsa/sherpa-onnx
See also the VoiceActivityDetector API: https://docs.rs/sherpa-onnx/latest/sherpa_onnx/struct.VoiceActivityDetector.html
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