Engines sub-package

Dragonfly supports multiple speech recognition engines as its backend. The engines sub-package implements the interface code for each supported engine.

EngineBase class

The dragonfly.engines.engine_base.EngineBase class forms the base class for this specific speech recognition engine classes. It defines the stubs required and performs some of the logic necessary for Dragonfly to be able to interact with a speech recognition engine.

class EngineBase
is_available
language
Current user language of the SR engine.
mimic(words)
Mimic a recognition of the given words.
speak(text)
Speak the given text using text-to-speech.

To be continued: compiler classes, natlink and wsr implementation classes.

Table Of Contents

Previous topic

Grammar sub-package

Next topic

Action framework

This Page

Quick search