t4ngo / dragonfly

ARCHIVED! - Speech recognition framework allowing powerful Python-based scripting and extension of Dragon NaturallySpeaking (DNS) and Windows Speech Recognition (WSR)
GNU Lesser General Public License v3.0
364 stars 82 forks source link

Comptability with Python 3.5 #50

Open bitburnerz opened 8 years ago

bitburnerz commented 8 years ago

Is it compatible with Python 3.5? I can't get the examples running, getting some errors.

tylercal commented 8 years ago

unfortunately dragonfly is not compatible with python 3 (see #32)

bitburnerz commented 8 years ago

Thanks

sathishkottravel commented 7 years ago

Thanks to the authors for making this project !

And I tried to port this project to Python3.5 , i used following steps:

1) 2to3.exe has been used initially to convert Python2 source code to Python3 Following changes are related to unicode issues. 2) string.letter -> string.ascii_letters 3) c_char(char) -> c_char(ord(char)) , similarly c_wchar 4) str(self) modified in action_base.py and state.py

I have tested moderately with Microsoft Speech engine it works fine for notepad example. Hope this will be helpful to someone!

( I have created pull request for above changes ) pullrequest 56