Aristech STT-Client for Rust
This is the Rust client implementation for the Aristech STT-Server.
Installation
To use the client in your project, add it to your Cargo.toml or use cargo to add it:
Usage
use ;
use Error;
async
There are several examples in the examples directory:
- file.rs: Demonstrates how to perform recognition on a file.
- live.rs: Demonstrates how to perform live recognition using the microphone.
- models.rs: Demonstrates how to get the available models from the server.
- nlpFunctions.rs: Demonstrates how to list the configured NLP-Servers and the coresponding functions.
- nlpProcess.rs: Demonstrates how to perform NLP processing on a text by using the STT-Server as a proxy.
- account.rs: Demonstrates how to retrieve the account information from the server.
To run the examples, use cargo. For example:
API Key
If you didn't get an API key but a token, secret and host instead, you can simply convert those values with our API key generator.
use ;
let mut client = default
.host?
.auth
.build
.await?;
Build
To build the library, run: