KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: FYI: Status of porting Vocola 2 to Python 3/NatLink 5+
Topic Summary:
Created On: 08/14/2022 09:36 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - mdl - 08/14/2022 09:36 PM  
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - kkkwj - 08/15/2022 01:48 PM  
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - quintijn - 08/17/2022 01:29 PM  
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - quintijn - 08/17/2022 01:29 PM  
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - thetrad9 - 08/27/2022 12:43 PM  
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - alexander - 09/09/2022 03:06 PM  
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - mdl - 09/11/2022 04:26 PM  
 FYI: Status of porting Vocola 2 to Python 3/NatLink 5+   - mdl - 09/17/2022 07:36 PM  
Keyword
 08/14/2022 09:36 PM
User is offline View Users Profile Print this message


mdl
Top-Tier Member

Posts: 938
Joined: 04/18/2009

As many of you know, Vocola 2 is based on NatLink, which provides an interface to Dragon functionality via Python.  The current version of NatLink (4.X and earlier) uses Python 2; this is problematic, however because Python 2 is past its end-of-life.

 

Accordingly, Quintjin and crew are working on a new version of NatLink, 5.0+, that uses Python 3.

 

I've been testing Vocola against the new version, reporting bugs and adapting Vocola as needed.  As of today (8/7/2022), we are down to a few major blockers:

 

* NatLink 5+ is not correctly handling non-ASCII characters (SendDragonKeys, dictation with Vortex, execScript, etc.)

    * see https://github.com/dictation-toolbox/natlink/issues/113

* Vocola fails to compile and load changed Vocola command files at start of next utterance

    * this is both a failure to compile due to not getting begin call back and a separate failure to load changed grammars automatically by NatLink

 

Once those are fixed, most of the remaining work is just to package up Vocola as an installer or Python package -- the exact installer details are still in flux I believe.

 

Note that I will be maintaining support for the current version of NatLink for at least the next major version of Vocola.

 08/15/2022 01:48 PM
User is offline View Users Profile Print this message

Author Icon
kkkwj
Top-Tier Member

Posts: 1123
Joined: 11/05/2015

Thank you for the update!

-------------------------

Win10/11/x64, AMD Ryzen 7 3700X/3950X, 64/128GB RAM, Dragon 15.3, SP 7 Standard, SpeechStart, Office 365, KB 2017, Dragon Capture, Samson Meteor USB Desk Mic, Amazon YUWAKAYI headset, Klim and JUKSTG earbuds with microphones, excellent Sareville Wireless Mono Headset, 3 BenQ 2560x1440 monitors, Microsoft Sculpt Keyboard and Logitech G502 awesome gaming mouse.

 08/17/2022 01:29 PM
User is offline View Users Profile Print this message

Author Icon
quintijn
Top-Tier Member

Posts: 220
Joined: 07/28/2014

As an update: we (LexiconCode, Doug Ransom and I) are working on that Natlink release, with also Vocola2 and Unimacro. Dragonfly is ready for the new version, I think, Vocola almost, and Unimacro still needs quite some work to do.

As to the updating of changed vocola files: when you called for "edit commands" or "edit global commands", at each utterance check for changes is done.

When you open, edit and save a vcl file in another way, the changes will come through at mic toggle.

 08/17/2022 01:29 PM
User is offline View Users Profile Print this message

Author Icon
quintijn
Top-Tier Member

Posts: 220
Joined: 07/28/2014

As an update: we (LexiconCode, Doug Ransom and I) are working on that Natlink release, with also Vocola2 and Unimacro. Dragonfly is ready for the new version, I think, Vocola almost, and Unimacro still needs quite some work to do.

As to the updating of changed vocola files: when you called for "edit commands" or "edit global commands", at each utterance check for changes is done.

When you open, edit and save a vcl file in another way, the changes will come through at mic toggle.

 08/27/2022 12:43 PM
User is offline View Users Profile Print this message

Author Icon
thetrad9
New Member

Posts: 13
Joined: 07/01/2015

Thanks for the update guys & much appreciate your work on this !
 09/09/2022 03:06 PM
User is offline View Users Profile Print this message

Author Icon
alexander
Top-Tier Member

Posts: 215
Joined: 07/31/2016

Quintijn, Mark, any update on the current status? It looks like progress has been made based off of reading the gitter, but I can't quite tell of it's in a release state?
 09/11/2022 04:26 PM
User is offline View Users Profile Print this message


mdl
Top-Tier Member

Posts: 938
Joined: 04/18/2009

Update: Doug has fixed the NatLink 5.3 bug where it was incorrectly handling non-ASCII characters. Unfortunately, in the process of testing it I discovered that my SendInput implementation also did not correctly handle these characters under Python 3 :-(

A lot of installer changes are being made for a better experience (e.g., Vocola and the like will come as python pip packages); rather than wait for all that work to settle down I'm going to make Vocola 2.8.8 a separate download from the installer. Full integration probably won't come until 2.8.9.
 09/17/2022 07:36 PM
User is offline View Users Profile Print this message


mdl
Top-Tier Member

Posts: 938
Joined: 04/18/2009

UPDATE: I fixed my SendInput implementation today.

Now I just need to figure out how to get commands be compiled and loaded when a Vocola file is changed...
Statistics
32528 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 1 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 325 guests browsing this forum, which makes a total of 326 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.