chobits-sherpa-rs

Crates.iochobits-sherpa-rs
lib.rschobits-sherpa-rs
version0.7.0
created_at2025-07-17 11:40:08.405092+00
updated_at2025-07-17 11:40:08.405092+00
descriptionRust bindings to https://github.com/k2-fsa/sherpa-onnx
homepage
repositoryhttps://github.com/thewh1teagle/sherpa-rs
max_upload_size
id1757381
size115,361
(lastsunday)

documentation

README

sherpa-rs

[!IMPORTANT]
This is a fork of sherpa-rs, release new version early.

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 support
  • directml: enable DirectML support
  • tts: enable TTS
  • download-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

Commit count: 322

cargo fmt