spoken_language_identification

Identify the spoken language in a WAV file using a Whisper-based model.

Source file

rust-api-examples/examples/spoken_language_identification.rs

How to run

The recommended way is to use the helper script(s) provided in rust-api-examples because they download or point to the required models and test files automatically when needed.

Helper script(s)

run-spoken-language-identification.sh

./run-spoken-language-identification.sh

Run it directly with Cargo

cargo run --example spoken_language_identification -- --help