[][src]Crate deepspeech_sys

Structs

ModelState
StreamingState
max_align_t

Functions

DS_AudioToInputVector

@brief Given audio, return a vector suitable for input to a DeepSpeech model trained with the given parameters.

DS_CreateModel

@brief An object providing an interface to a trained DeepSpeech model.

DS_DestroyModel

@brief Frees associated resources and destroys model object.

DS_DiscardStream

@brief Destroy a streaming state without decoding the computed logits. This can be used if you no longer need the result of an ongoing streaming inference and don't want to perform a costly decode operation.

DS_EnableDecoderWithLM

@brief Enable decoding using beam scoring with a KenLM language model.

DS_FeedAudioContent

@brief Feed audio samples to an ongoing streaming inference.

DS_FinishStream

@brief Signal the end of an audio signal to an ongoing streaming inference, returns the STT result over the whole audio signal.

DS_IntermediateDecode

@brief Compute the intermediate decoding of an ongoing streaming inference. This is an expensive process as the decoder implementation isn't currently capable of streaming, so it always starts from the beginning of the audio.

DS_PrintVersions

@brief Print version of this library and of the linked TensorFlow library.

DS_SetupStream

@brief Create a new streaming inference state. The streaming state returned by this function can then be passed to {@link DS_FeedAudioContent()} and {@link DS_FinishStream()}.

DS_SpeechToText

@brief Use the DeepSpeech model to perform Speech-To-Text.