offline_punctuation

Add punctuation to text with an offline punctuation model.

Source file

rust-api-examples/examples/offline_punctuation.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-offline-punctuation.sh

./run-offline-punctuation.sh

Run it directly with Cargo

cargo run --example offline_punctuation -- --help