stt.deepspeech
Platypush documentation
stt.deepspeech
- class platypush.backend.stt.deepspeech.SttDeepspeechBackend(*args, **kwargs)[source]
Bases:
SttBackend
Backend for the Mozilla Deepspeech speech-to-text engine plugin. Set this plugin to
enabled
if you want to run the speech-to-text engine continuously instead of programmatically usingstart_detection
andstop_detection
.Requires:
The
platypush.plugins.stt.deepspeech.SttDeepspeechPlugin
plugin configured and its dependencies installed, as well as the language model files.
- __init__(*args, **kwargs)[source]
- Parameters:
plugin_name – Plugin name of the class that will be used for speech detection. Must be an instance of
platypush.plugins.stt.SttPlugin
.retry_sleep – Number of seconds the backend will wait on failure before re-initializing the plugin (default: 5 seconds).