[][src]Crate deepspeech_sys

Structs

Metadata
MetadataItem
ModelState
StreamingState
max_align_t

Constants

DeepSpeech_Error_Codes_DS_ERR_FAIL_CREATE_SESS
DeepSpeech_Error_Codes_DS_ERR_FAIL_CREATE_STREAM
DeepSpeech_Error_Codes_DS_ERR_FAIL_INIT_MMAP
DeepSpeech_Error_Codes_DS_ERR_FAIL_INIT_SESS
DeepSpeech_Error_Codes_DS_ERR_FAIL_INTERPRETER
DeepSpeech_Error_Codes_DS_ERR_FAIL_READ_PROTOBUF
DeepSpeech_Error_Codes_DS_ERR_FAIL_RUN_SESS
DeepSpeech_Error_Codes_DS_ERR_INVALID_ALPHABET
DeepSpeech_Error_Codes_DS_ERR_INVALID_LM
DeepSpeech_Error_Codes_DS_ERR_INVALID_SHAPE
DeepSpeech_Error_Codes_DS_ERR_MODEL_INCOMPATIBLE
DeepSpeech_Error_Codes_DS_ERR_NO_MODEL
DeepSpeech_Error_Codes_DS_ERR_OK

Functions

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_FinishStreamWithMetadata

@brief Signal the end of an audio signal to an ongoing streaming inference, returns per-letter metadata.

DS_FreeMetadata

@brief Free memory allocated for metadata information.

DS_FreeString

@brief Free a char* string returned by the DeepSpeech API.

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.

DS_SpeechToTextWithMetadata

@brief Use the DeepSpeech model to perform Speech-To-Text and output metadata about the results.

Type Definitions

DeepSpeech_Error_Codes