Questions tagged [python-dragonfly]
Dragonfly is a speech recognition framework for Python.
27
questions
0
votes
0
answers
17
views
Is there any option to calculate mean curvature and specific surface area in Dragonfly software
For an image data how can I calculate the mean curvature(mm2) and specific surface area(mm) values after the image segmentation using Otsu thresholding in Dragonfly software.
After image segmentation ...
0
votes
1
answer
57
views
Reloading Grammars when using DragonFly + WSR
I've recently started dabbling in DragonFly (due to mild RSI issues), and I'm using it with WSR and the wsr_module_loader_plus.py script.
One thing that I'm finding really annoying is that, whenever I ...
0
votes
1
answer
102
views
How do I debug loading dragonfly grammars in NatLink?
I've been trying to get dragonfly to work on my Windows 10 machine, but I can only get as far as making NatLink activate.
I've configured the user directory in the NatLink GUI, as well as activated ...
1
vote
1
answer
65
views
Pass spoken numerical value to function
I want to pass a spoken numerical value to a function, but I'm having problems casting that value to an integer. I am only able to pass the string %(number)d to the foo function.
I've tried many ...
2
votes
1
answer
75
views
Modal commands with Dragonfly
I'm using dragonfly2, and I want to create a grammar that, like vim, is modal. I want to be able to enable and disable grammars using commands.
For example, if I say link, I have an action that shows ...
2
votes
1
answer
105
views
Repeating an extra when using a Dragonfly CompoundRule
Using dragonfly2, the voice command framework, you can make a grammar like so:
chrome_rules = MappingRule(
name='chrome',
mapping={
'down [<n>]': actions.Key('space:%(n)d'),
...
1
vote
1
answer
84
views
Dragonfly doesn't print characters requiring pressing Alt Gr, such as { or [
I have installed Python 2.7.14, pywin 2.7, natlink 4.1victor and dragonfly 0.6.6b1. I have windows 10 where the main language is English, but the keyboard layout is in Finnish.
If I go to Notepad and ...
0
votes
2
answers
77
views
accentuated letters for natlink and dragonfly
I have a natlink setup, with dragonfly and aena on Dragon 13. It's working all well in English, and it's almost working for French.
I have a problem when a try to use accentuated letters in the ...
0
votes
1
answer
153
views
dragonfly : how do i set my language?
I'm using dragon natural speaking with natlink, dragonfly and aena.
It works great in english, but if I load a user profile for another language, I get a weird error.
This error : Dragonfly IntegerRef ...
1
vote
1
answer
226
views
How to switch context in Dragonfly
I have tried the Python module for handling speech recognition Dragonfly and successfully run notepad example with Windows speech recognition. Now I would like to try something more general, but I ...
1
vote
1
answer
359
views
Dragonfly installation issues with Windows speech recognition
I want to do speech recognition using Dragonfly with Windows Speech Recognition on windows 10 but the issue is it always displays the errors.I am stuck to in since days. This is all I have been trying ...
1
vote
1
answer
269
views
get text from dragonfly speech recogtion engine
I would like to get the text recognized by the speech recognition engine dragonfly and get the text using python . Have tried using natlink but i want to make a server base application and get only ...
1
vote
1
answer
139
views
Pressing two keys simultaneously with dragonfly
I'm trying to create a macro in Dragonfly that will press two keys simultaneously, rather than one after the other. The documentation doesn't seem to cover this. Is it possible to do this, and if so ...
1
vote
1
answer
147
views
Can Dragonfly be used to modify existing text, like "Capitalise That" in DNS does?
As an example, I have written a simple rule to camelCase text.
It uses the following spec:
spec="camel case <txt>"
which correctly modifies the text said after the command 'camel case'.
But ...
0
votes
1
answer
345
views
dragonfly+dragon naturally speaking not working
I've got Dragon Naturally Speaking 14, dragonfly, the latest natlink (4.1 or something), pywin32, python 2.7, and wxpython installed
I've got a python file with this in it in my "user configuration ...
1
vote
1
answer
178
views
Dragonfly IntegerRef getting a TypeError: 'NoneType' object is not callable error
Try to get dragonfly working in Windows 10 with Python 2.7. I have a sample module that I made that im trying to get working, however Im getting the following error:
Traceback (most recent call last):...
2
votes
1
answer
344
views
Problems using python dragonfly on windows7 with python2.6
I am playing with the Dragonfly lib in python. I am working on Windows7 + python2.6. However when I try to run demo code (which is the example from Dragonfly)
from dragonfly.all import Grammar, ...
2
votes
2
answers
820
views
install natlink and dragonfly for python2.7 in windows10
I want to implement speech recognition in my windows10 using python2.7. Is it possible to install natlink for python2.7? Because i found that it is only available for python 2.5. If anybody knows how ...
0
votes
0
answers
154
views
"Unknown char" error when trying to import dragonfly in Python
I'm using Anaconda 64-bit on Windows 7 x64.
I've succesfully installed dragonfly with "pip install dragonfly".
But when I'm trying to import dragonfly in IPython I get exception:
In [1]: import ...
0
votes
1
answer
228
views
Unable to run enable.py when trying to install dragonfly
I am trying to install dragonfly, i got natlink installed, without problems.
But when i try to run enable.py i keep getting this error:
C:\NatLink>python enable.py
Traceback (most recent ...
2
votes
1
answer
348
views
Preventing Windows Speech Recognition from recognizing computer audio with Dragonfly?
I'm making a prototype for an accessibility app for Windows with Dragonfly for Python. Frustratingly, Windows Speech Recognition (WSR) recognizes audio from the computer, which is a huge problem for ...
0
votes
1
answer
437
views
python dragonfly to recognize similar words
I am doing a program with dragon fly using wsr,where it has to analyse a word,any voice matching that word should output 'yes it matches'
If i say 'czechoslovakia' then it must print true even for ...
0
votes
0
answers
2k
views
Python speech recognition 'module' object has no attribute 'VARIANT'
I'm trying to get started using speech recognition in python. First I tried PySpeech (https://code.google.com/p/pyspeech/) using this code:
def listen():
while 1:
said = speech.input()
...
1
vote
2
answers
672
views
Disable Windows Speech Recognition using Dragonfly
Is it possible to disable certain aspects of Windows Speech Recognition (WSR) when I only wish to accept specific Dragonfly commands? I am programming a (simple) voice-controlled interaction system in ...
1
vote
1
answer
326
views
DragonFly - no external application?
Context
I'm working with DragonFly, the python module. At this point, I just want speech recognized and outputted back to me.
Question
I'm wondering if there is a way to use DragonFly purely for ...
3
votes
3
answers
772
views
Problems using python dragonfly on linux bases machine
I am playing with the Dragonfly lib in python. I am working on Mac OSX, and this will be my target platform. However when try to run my program I receive the following error:
Traceback (most recent ...
10
votes
3
answers
10k
views
How do you recognize speech with the Python module Dragonfly?
I have been trying to figure out how to use the Dragonfly module. I have taken a look at the documentation, but I can't seem to figure out how to use it. I just want to be able to recognize a few ...