Expand description
Raw FFI bindings for sherpa-onnx.
§Environment variables
The build script (build.rs) recognises the following environment
variables, all of which are optional:
| Variable | Purpose |
|---|---|
SHERPA_ONNX_LIB_DIR | Path to a directory that already contains the |
pre-built native libraries (.so / .dylib / .dll / .a). | |
| When set, the build script skips downloading and uses these | |
| libraries directly. | |
SHERPA_ONNX_ARCHIVE_DIR | Path to a directory that contains |
pre-downloaded archive files (.tar.bz2 or .xcframework.zip). | |
| When set, the build script copies the archive from this directory | |
| instead of downloading it from the internet. The archive must have | |
| the same filename that would normally be downloaded (e.g. | |
sherpa-onnx-v1.13.8-linux-x64-shared-lib.tar.bz2). |
Re-exports§
pub use audio_tagging::*;pub use kws::*;pub use offline_asr::*;pub use offline_punctuation::*;pub use offline_speaker_diarization::*;pub use online_asr::*;pub use online_punctuation::*;pub use resampler::*;pub use speaker_embedding::*;pub use speech_denoiser::*;pub use spoken_language_identification::*;pub use tts::*;pub use vad::*;pub use wave::*;
Modules§
- audio_
tagging - kws
- offline_
asr - offline_
punctuation - offline_
speaker_ diarization - online_
asr - online_
punctuation - resampler
- speaker_
embedding - speech_
denoiser - spoken_
language_ identification - tts
- vad
- wave