sherpa-rs

Crates.iosherpa-rs
lib.rssherpa-rs
version
sourcesrc
created_at2024-07-06 04:30:40.070319+00
updated_at2025-02-25 12:00:57.458854+00
descriptionRust bindings to https://github.com/k2-fsa/sherpa-onnx
homepage
repositoryhttps://github.com/thewh1teagle/sherpa-rs
max_upload_size
id1293732
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(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
  • 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: 317

cargo fmt