This release is a pre-release and may not be stable for production use.
Dragonfly – a speech recognition framework
Dragonfly offers a powerful Python interface to speech recognition and a high-level language object model to easily create and use voice commands. Dragonfly supports following speech recognition engines:
Dragon NaturallySpeaking (DNS), a product of Nuance
Windows Speech Recognition (WSR), included with Microsoft Windows Vista and freely available for Windows XP
Basic example
A very simple example of Dragonfly usage is to create a static voice command with a callback that will be called when the command is spoken. This is done as follows:
from dragonfly.all import Grammar, CompoundRule
# Voice command rule combining spoken form and recognition processing.
class ExampleRule(CompoundRule):
spec = "do something computer" # Spoken form of command.
def _process_recognition(self, node, extras): # Callback when command is spoken.
print "Voice command spoken."
# Create a grammar which contains and loads the command rule.
grammar = Grammar("example grammar") # Create a grammar to contain the command rule.
grammar.add_rule(ExampleRule()) # Add the command rule to the grammar.
grammar.load() # Load the grammar.
The example above is very basic and doesn’t show any of Dragonfly’s exciting features, such as dynamic speech elements. To learn more about these, please take a look at the project’s documentation here.
Metadata
Release files for dragonfly 0.6.4rc3.dev-r57
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dragonfly-0.6.4rc3.dev-r57.zip | 309.5 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dragonfly-0.6.4rc3.dev_r57-py2.5.egg | Legacy Egg format | - | - | Details |
| dragonfly-0.6.4rc3.dev-r57.win32.exe | Details |
Total release size: 682.1 kB
Release files / dragonfly-0.6.4rc3.dev-r57.zip
| Download URL | dragonfly-0.6.4rc3.dev-r57.zip |
|---|---|
| Size | 309.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46aaf139422551fc4cb4d495d387e2e9f82deca51509ad6e45fe64c98ff9c512
|
|
BLAKE2b-256 checksum How to use checksums |
f60338593ee21f554fa4e71df0dc8494d57f3d77aeaa04e0661ef6c7c72aecfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dragonfly-0.6.4rc3.dev_r57-py2.5.egg
| Download URL | dragonfly-0.6.4rc3.dev_r57-py2.5.egg |
|---|---|
| Size | 208.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
3b898a7e93011cd3ed91850aaa62fe99a36e58166e3edc2c8a8ae24f42978452
|
|
BLAKE2b-256 checksum How to use checksums |
14f073d02d3feb8f841bfd6958ea14a5a326e6b7e9bac4127834bea7ae20fb3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dragonfly-0.6.4rc3.dev-r57.win32.exe
| Download URL | dragonfly-0.6.4rc3.dev-r57.win32.exe |
|---|---|
| Size | 163.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
374f84f24057a74508b99a29ff7f1651000e4557694aa514e46c7442dcbbf1f6
|
|
BLAKE2b-256 checksum How to use checksums |
08d73b08e00db5cbe0f42578251bae2718e7710879e7b5ed09242cdd2f5d2f31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |