sherpa-rs

Crates.iosherpa-rs
lib.rssherpa-rs
version0.5.1
sourcesrc
created_at2024-07-06 04:30:40.070319
updated_at2024-10-25 13:28:21.328766
descriptionRust bindings to https://github.com/k2-fsa/sherpa-onnx
homepage
repositoryhttps://github.com/thewh1teagle/sherpa-rs
max_upload_size
id1293732
size128,756
(thewh1teagle)

documentation

README

sherpa-rs

Crates License

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

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)

Docs

See sherpa/intro.html

Examples

See examples

Models

All pretrained models available at sherpa/onnx/pretrained_models

Commit count: 280

cargo fmt