Struct deepspeech::Model [] [src]

pub struct Model { /* fields omitted */ }

Methods

impl Model
[src]

[src]

Load a DeepSpeech model from the specified model and alphabet file paths

[src]

Load a KenLM language model from a file and enable decoding using beam scoring

[src]

Perform speech-to-text using the model

The input buffer must consist of mono 16-bit samples. The sample rate is not freely chooseable but a property of the model files.

Trait Implementations

impl Drop for Model
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Model

impl !Sync for Model