@@ -41,9 +41,8 @@ Dragonfly supports the following speech recognition (SR) engines:
41
41
work too.
42
42
* :ref:`Windows Speech Recognition <RefSapi5Engine>` (WSR), included with
43
43
Microsoft Windows Vista, Windows 7+, and freely available for Windows XP.
44
- * :ref:`Kaldi <RefKaldiEngine>`, open source (AGPL) and multi-platform.
45
- * :ref:`CMU Pocket Sphinx <RefSphinxEngine>`, open source and
46
- multi-platform.
44
+ * :ref:`Kaldi <RefKaldiEngine>`
45
+ * :ref:`CMU Pocket Sphinx <RefSphinxEngine>`
47
46
48
47
Dragonfly has cross platform support for Windows, macOS and Linux
49
48
(X11-only). The following table shows which engines are available on which
@@ -66,7 +65,9 @@ using Dragonfly voice macros on remote hosts.
66
65
Dragonfly's X11 support is dependent on the external *xdotool*, *wmctrl*
67
66
and *xsel* programs. These programs are available for most Linux
68
67
distributions. They are also available for other operating systems, such as
69
- FreeBSD.
68
+ FreeBSD. At present, since *xdotool* is not available for it, Dragonfly
69
+ will not work properly in a Cygwin environment.
70
+
70
71
71
72
Where can I find examples Dragonfly command modules?
72
73
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -80,18 +81,25 @@ example command modules in `dragonfly/examples`_.
80
81
What is the difference between dragonfly and dragonfly2?
81
82
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82
83
83
- The names *dragonfly* and *dragonfly2* are two distribution names for the
84
- same package . They are now synonymous as of version 1.0.0 of the library.
85
- Prior to that version, *dragonfly2* was the distribution name since 2008 .
84
+ *Dragonfly* is the `original project`_ written by Christo Butcher. It is no
85
+ longer maintained . *Dragonfly2* is a `fork`_ of Dragonfly that uses a
86
+ different *distribution* name.
86
87
87
88
It is important to note that the *import name* is still "dragonfly":
88
89
89
90
.. code-block:: python
90
91
91
92
from dragonfly import Grammar, MappingRule, Key, Text, Mouse, Dictation
92
93
93
- Dragonfly2 started out as a backwards-compatible continuation of the
94
- original project written by Christo Butcher.
94
+ Dragonfly2 is intended to be backwards-compatible continuation of the
95
+ original project. Many problems are fixed in this version. It supports
96
+ alternative speech recognition engine backends (e.g. the
97
+ :ref:`Kaldi engine <RefKaldiEngine>`), works with Python 3 and has
98
+ cross-support for macOS and the X Window System (X11). Dragonfly2 also has
99
+ some new features not found in the old version.
100
+
101
+ See the :ref:`changelog <RefChangelog>` for the full list of changes between
102
+ the two versions.
95
103
96
104
97
105
How can I use older Dragonfly scripts written for Python 2.7?
@@ -120,6 +128,19 @@ end:
120
128
121
129
The `Python 2-3 code porting guide`_ may also be of interest.
122
130
131
+ A number of older Dragonfly command modules also include the following code:
132
+
133
+ .. code-block:: python
134
+
135
+ try:
136
+ import pkg_resources
137
+ pkg_resources.require("dragonfly >= 0.6.5")
138
+ except ImportError:
139
+ pass
140
+
141
+ Since the distribution name has been changed to *dragonfly2*,
142
+ :code:`dragonfly` will need to be replaced with :code:`dragonfly2`.
143
+
123
144
124
145
Where are some good resources on learning Python?
125
146
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments