Structs§
- Candidate
Transcript - @brief A single transcript computed by the model, including a confidence value and the metadata for its constituent tokens.
- Metadata
- @brief An array of CandidateTranscript objects computed by the model.
- Model
State - Streaming
State - Token
Metadata - @brief Stores text of an individual token, along with its timing information
Constants§
- STT_
Error_ Codes_ STT_ ERR_ FAIL_ CLEAR_ HOTWORD - STT_
Error_ Codes_ STT_ ERR_ FAIL_ CREATE_ MODEL - STT_
Error_ Codes_ STT_ ERR_ FAIL_ CREATE_ SESS - STT_
Error_ Codes_ STT_ ERR_ FAIL_ CREATE_ STREAM - STT_
Error_ Codes_ STT_ ERR_ FAIL_ ERASE_ HOTWORD - STT_
Error_ Codes_ STT_ ERR_ FAIL_ INIT_ MMAP - STT_
Error_ Codes_ STT_ ERR_ FAIL_ INIT_ SESS - STT_
Error_ Codes_ STT_ ERR_ FAIL_ INSERT_ HOTWORD - STT_
Error_ Codes_ STT_ ERR_ FAIL_ INTERPRETER - STT_
Error_ Codes_ STT_ ERR_ FAIL_ READ_ PROTOBUF - STT_
Error_ Codes_ STT_ ERR_ FAIL_ RUN_ SESS - STT_
Error_ Codes_ STT_ ERR_ INVALID_ ALPHABET - STT_
Error_ Codes_ STT_ ERR_ INVALID_ SCORER - STT_
Error_ Codes_ STT_ ERR_ INVALID_ SHAPE - STT_
Error_ Codes_ STT_ ERR_ MODEL_ INCOMPATIBLE - STT_
Error_ Codes_ STT_ ERR_ NO_ MODEL - STT_
Error_ Codes_ STT_ ERR_ OK - STT_
Error_ Codes_ STT_ ERR_ SCORER_ INVALID_ LM - STT_
Error_ Codes_ STT_ ERR_ SCORER_ INVALID_ TRIE - STT_
Error_ Codes_ STT_ ERR_ SCORER_ NOT_ ENABLED - STT_
Error_ Codes_ STT_ ERR_ SCORER_ NO_ TRIE - STT_
Error_ Codes_ STT_ ERR_ SCORER_ UNREADABLE - STT_
Error_ Codes_ STT_ ERR_ SCORER_ VERSION_ MISMATCH
Functions§
- STT_
AddHot ⚠Word - @brief Add a hot-word and its boost.
- STT_
Clear ⚠HotWords - @brief Removes all elements from the hot-words map.
- STT_
Create ⚠Model - @brief An object providing an interface to a trained Coqui STT model.
- STT_
Create ⚠Model From Buffer - @brief An object providing an interface to a trained Coqui STT model, loaded from a buffer.
- STT_
Create ⚠Stream - @brief Create a new streaming inference state. The streaming state returned by this function can then be passed to {@link STT_FeedAudioContent()} and {@link STT_FinishStream()}.
- STT_
Disable ⚠External Scorer - @brief Disable decoding using an external scorer.
- STT_
Enable ⚠External Scorer - @brief Enable decoding using an external scorer.
- STT_
Enable ⚠External Scorer From Buffer - @brief Enable decoding using an external scorer loaded from a buffer.
- STT_
Erase ⚠HotWord - @brief Remove entry for a hot-word from the hot-words map.
- STT_
Error ⚠Code ToError Message - @brief Returns a textual description corresponding to an error code. The string returned must be freed with @{link STT_FreeString()}.
- STT_
Feed ⚠Audio Content - @brief Feed audio samples to an ongoing streaming inference.
- STT_
Finish ⚠Stream - @brief Compute the final decoding of an ongoing streaming inference and return the result. Signals the end of an ongoing streaming inference.
- STT_
Finish ⚠Stream With Metadata - @brief Compute the final decoding of an ongoing streaming inference and return results including metadata. Signals the end of an ongoing streaming inference.
- STT_
Free ⚠Metadata - @brief Free memory allocated for metadata information.
- STT_
Free ⚠Model - @brief Frees associated resources and destroys model object.
- STT_
Free ⚠Stream - @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.
- STT_
Free ⚠String - @brief Free a char* string returned by the Coqui STT API.
- STT_
GetModel ⚠Beam Width - @brief Get beam width value used by the model. If {@link STT_SetModelBeamWidth} was not called before, will return the default value loaded from the model file.
- STT_
GetModel ⚠Sample Rate - @brief Return the sample rate expected by a model.
- STT_
Intermediate ⚠Decode - @brief Compute the intermediate decoding of an ongoing streaming inference.
- STT_
Intermediate ⚠Decode Flush Buffers - @brief EXPERIMENTAL: Compute the intermediate decoding of an ongoing streaming inference, flushing buffers first. This ensures that all audio that has been streamed so far is included in the result, but is more expensive than STT_IntermediateDecode() because buffers are processed through the acoustic model. Calling this function too often will also degrade transcription accuracy due to trashing of the LSTM hidden state vectors.
- STT_
Intermediate ⚠Decode With Metadata - @brief Compute the intermediate decoding of an ongoing streaming inference, return results including metadata.
- STT_
Intermediate ⚠Decode With Metadata Flush Buffers - @brief EXPERIMENTAL: Compute the intermediate decoding of an ongoing streaming inference, flushing buffers first. This ensures that all audio that has been streamed so far is included in the result, but is more expensive than STT_IntermediateDecodeWithMetadata() because buffers are processed through the acoustic model. Calling this function too often will also degrade transcription accuracy due to trashing of the LSTM hidden state vectors. Returns results including metadata.
- STT_
SetModel ⚠Beam Width - @brief Set beam width value used by the model.
- STT_
SetScorer ⚠Alpha Beta - @brief Set hyperparameters alpha and beta of the external scorer.
- STT_
Speech ⚠ToText - @brief Use the Coqui STT model to convert speech to text.
- STT_
Speech ⚠ToText With Metadata - @brief Use the Coqui STT model to convert speech to text and output results including metadata.
- STT_
Version ⚠ - @brief Returns the version of this library. The returned version is a semantic version (SemVer 2.0.0). The string returned must be freed with {@link STT_FreeString()}.