KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: (updated): NatLink repaired for Dragon 15, will be released soon
Topic Summary: NatLink is fixed and can work for Dragon 15, thanks to Rudiger and persons on the background, see below.
Created On: 01/16/2018 03:30 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 (updated): NatLink repaired for Dragon 15, will be released soon   - quintijn - 01/16/2018 03:30 AM  
 NatLink for Dragon 15.2 will probably work   - michaelbeijer - 01/16/2018 05:26 AM  
 NatLink for Dragon 15.2 will probably work   - R. Wilke - 01/16/2018 02:50 PM  
 NatLink for Dragon 15.2 will probably work   - Jole - 01/17/2018 09:27 AM  
 NatLink for Dragon 15.2 will probably work   - PG LTU - 01/17/2018 10:08 AM  
 NatLink for Dragon 15.2 will probably work   - R. Wilke - 01/17/2018 03:12 PM  
 NatLink for Dragon 15.2 will probably work   - haughki - 01/17/2018 04:30 PM  
 NatLink for Dragon 15.2 will probably work   - R. Wilke - 01/17/2018 04:46 PM  
 NatLink for Dragon 15.2 will probably work   - Aaron Walker - 01/20/2018 12:01 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - R. Wilke - 01/20/2018 12:36 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - R. Wilke - 01/20/2018 05:11 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - R. Wilke - 01/21/2018 07:11 AM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - Aaron Walker - 01/24/2018 03:30 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - R. Wilke - 01/24/2018 04:47 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - Aaron Walker - 01/27/2018 11:48 AM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - R. Wilke - 01/27/2018 12:58 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - michaelbeijer - 01/26/2018 03:48 AM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - quintijn - 01/28/2018 03:20 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - Aaron Walker - 01/28/2018 11:31 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - R. Wilke - 01/28/2018 04:03 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - Eric Paulson - 01/30/2018 12:37 AM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - R. Wilke - 01/30/2018 10:49 AM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - Eric Paulson - 01/30/2018 10:08 PM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - quintijn - 02/02/2018 05:56 AM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - chpla - 02/21/2018 11:17 AM  
 (updated): NatLink repaired for Dragon 15, will be released soon   - G.J. Premo - 02/21/2018 11:48 AM  
Keyword
 01/16/2018 03:30 AM
User is offline View Users Profile Print this message

Author Icon
quintijn
Advanced Member

Posts: 181
Joined: 07/28/2014

Hello all,

Great news for all NatLink users, including Vocola, Unimacro, Dragonfly and possibly other packages that are based upon this great dat addon that Joel Gould originally wrote in 1999.

With NatLink, a user command system for Dragon/NatSpeak can be built that is written in Python.

Up to Dragon 14, this package worked, but with the introduction of Dragon DPI 15, something was broken.

What happened in the background is unknown to me, but I am very happy that Rudiger Wilke now has the information to fix the NatLink code for Dragon 15.

Currently Rudiger and I are testing things, and we have to solve a few minor problems.

Hopefully I can release NatLink/Vocola/Unimacro for DPI 15 within a week.

Greetings, Quintijn

(Note Quintijn 18/1: see corrections Rudiger below. The tests are running succesful, I aim to release NatLink for Dragon 15 before January 23).



 01/16/2018 05:26 AM
User is offline View Users Profile Print this message

Author Icon
michaelbeijer
Top-Tier Member

Posts: 240
Joined: 12/07/2014

Wow, that's great news! Hopefully I can start playing around with Vocola again soon.

Michael

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

Dragon Professional Individual 15
KnowBrainer 2017 + AutoHotkey
Win 10 – 64-bit, i7, 32 GB RAM
SpeechWare 3-in-1 TableMike 

 01/16/2018 02:50 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

Hello Quintijn,

Thanks for publishing the great news about NatLink for DPI/DPG 15 being fixed finally here. However, there's a bit of misinformation in your message which may even be misleading if it wasn't corrected, so, as you already agreed to it, let me try and put it right.

First off, the NatLink fix has nothing to do whatsoever with any update to DPI or DPG 15, whichever that will be. I have also heard rumours going around about the next update being 15.2, and I wouldn't take it for granted. But regardless of what update it will be actually, it won't cover the fix because the initial problem lies somewhere else.

The reason for NatLink not functioning any longer in DPI 15 was in a change of the internal Dragon code, where a particular interface had been amended, as I had surmised all along and as it turned out now. Therefore, the problem couldn't be resolved on the NatLink side either without knowing what the particular change actually was.

So after ascertaining the coding issues, a number of other factors were also involved which I won't go into now. It couldn't have been resolved however if it weren't for the co-operative efforts from other parties, finally leading to the developers who provided the missing piece of information.

So let me take this opportunity to say a huge thanks to Lindsay at PCByVoice for establishing the contact and facilitating Nuance development's continued support of the NatLink project and the senior developers at Nuance development who continue to support Joel's works, they know who they are.

Everyone out there using NatLink should know that you all owe them for this, and you should never forget this, and some of you out there better think twice before blaming Nuance for not playing along the next time.

RĂ¼diger Wilke


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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!

 01/17/2018 09:27 AM
User is offline View Users Profile Print this message

Author Icon
Jole
Senior Member

Posts: 133
Joined: 04/09/2015

Wow! Thank you so much everyone for your fantastic work on this. And it's really good to know that senior developers at Nuance themselves helped out with this. I won't forget it.

It's funny really, I had just given up on Natlink ever working again and was starting to set up a system for programming by voice based on DVC commands. Given that Nuance was involved in getting Natlink working with Dragon 15, perhaps I should reconsider my decision to not use Vocola or Dragonfly.
 01/17/2018 10:08 AM
User is offline View Users Profile Print this message

Author Icon
PG LTU
Top-Tier Member

Posts: 1773
Joined: 03/21/2007

+1 for Yay, it's working for me in DPG15.1!

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





PG



Remember folks, my comments and this forum are for entertainment value only, please, no wagering or other reliance on the contents herein.  I permit no commercial use of my ideas (whether expressions or embodiments) without my written consent.

 01/17/2018 03:12 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

Thanks, Phil, for confirming this. Keep in mind that what I gave you is just the preview, so to speak, although it should have the entire functionality. Right now, we are in the process of doing a few more finishing touches, and hopefully it will be released to the public sometime around this weekend.



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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!

 01/17/2018 04:30 PM
User is offline View Users Profile Print this message

Author Icon
haughki
Power Member

Posts: 45
Joined: 10/09/2015

Hard to put into words how glad I am to read this. My sincere thanks to everyone out there who has worked to make the fix possible.

Here's a link you can use to donate directly to help support this work: http://qh.antenna.nl/unimacro/aboutunimacro/donation/index.html

(At least, I think that's the best way to support financially -- please correct me if I'm wrong.)



 01/17/2018 04:46 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

You are welcome, and thank you for the kind words, haughki.

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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!

 01/20/2018 12:01 PM
User is offline View Users Profile Print this message

Author Icon
Aaron Walker
New Member

Posts: 20
Joined: 01/20/2018

I'm also having trouble finding a way to express my gratitude. In a small way I can express my support through donating. My life would be a different place without NatLink! Thank you, R. Wilke



 01/20/2018 12:36 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

You are welcome also, and also thank you for the kind words, Aaron.

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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!

 01/20/2018 05:11 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

Alright folks, so if anyone out there is interested in doing some preliminary testing, I'll be happy to provide you with the new PYD (which is Python speak for DLL in the normal world) individually.

All it takes is to have Python 2.7 and a working NatLink installer, and then you can replace the PYD manually. I assume that you understand how to do this, or else I will create a boilerplate text describing it.

 

Also, do note that the new PYD will work only with DPI/DPG 15 and is not backwards compatible with DPI 14, DNS 13,...

Please contact me through my website referred to in my signature below, and I will get back to you via email.

RW

 

UPDATE:

 

Please note stressing working NatLink installer, which also includes the configuration.

 

I also need to know whether the NatLink version is the current "uniform" (personally, I wasn't aware that it has been already published, but you learn something new every day) or anything prior to this, as it will involve a different version of the PYD.

 

If you already have "uniform", and if it works for you (for me it doesn't), don't bother contacting me, as you will have the new PYD already.

 

But if you have anything NatLink prior to uniform in use, I will give you a PYD to go along with it.

 

(This editor sucks no end.)



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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!



 01/21/2018 07:11 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

LATEST UPDATE:

I hear that Quintijn is back on it and that he will proceed fixing the new natlink "uniform" installer (did not work for me and a few others from what I heard).

So I suggest taking down this "prelimary testing phase" initiated here.

Thanks for everyone's interest in the meantime.

RW


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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!

 01/24/2018 03:30 PM
User is offline View Users Profile Print this message

Author Icon
Aaron Walker
New Member

Posts: 20
Joined: 01/20/2018

R. Wilke, thank you for providing the natlink_2.7_Ver15 (pre-uniform).pyd file for testing.

With NatLink uniform nor tango I couldn’t get Configure Natlink via GUI or commandline to run. However NatLink version: 4.1 romeo the GUI and commandline function as expected.

Renaming natlink_2.7_Ver15 (pre-uniform).pyd to to natlink_2.7_Ver15.pyd then placing it in  "...NatLink\MacroSystem\core\PYD"

NatLink Output


 UnimacroDirectory: C:\NatLink\Unimacro
getLanguage: Warning, no model specification string for key 2 1 found in "Base Acoustic" of inifile: C:\ProgramData\Nuance\NaturallySpeaking15\Users\Main\current\acoustic.ini
You probably got the wrong encoding of the file, probably utf-8-BOM.
Please try to change the encoding to utf-8.
no shiftKey code provided for language: zzz, take empty string.
setting shiftkey to:  (language: zzz)


start of natlinkstartup
getLanguage: Warning, no model specification string for key 2 1 found in "Base Acoustic" of inifile: C:\ProgramData\Nuance\NaturallySpeaking15\Users\Main\current\acoustic.ini
You probably got the wrong encoding of the file, probably utf-8-BOM.
Please try to change the encoding to utf-8.
getLanguage: Warning, no model specification string for key 2 1 found in "Base Acoustic" of inifile: C:\ProgramData\Nuance\NaturallySpeaking15\Users\Main\current\acoustic.ini
You probably got the wrong encoding of the file, probably utf-8-BOM.
Please try to change the encoding to utf-8.
 
Vocola Warning: no language "zzz" translations for the built-in Vocola
commands (e.g., commands to load voice commands) are currently
available; consider helping translate them -- inquire on
https://www.knowbrainer.com/forums/forum/categories.cfm?catid=25.  For
now the English versions, like "Edit Commands" and "Edit Global
Commands" are activated.

Vocola not active
natlinkmain started from C:\NatLink\NatLink\MacroSystem\core:
  NatLink version: 4.1romeo
  DNS version: 15
  Python version: 27
  Windows Version: 8or10

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


As the error states acoustic.ini utf-8-BOM. C:\ProgramData\Nuance\NaturallySpeaking15\Users\Main\current\acoustic.ini

I edited the encoding of acoustic.ini from utf-8-BOM to utf-8 using Visual Studio Code. In VS Code look at the lower right corner to change encoding schemes. Then I rebooted the computer.

NatLink status window looks exemplary


UnimacroDirectory: C:\NatLink\Unimacro
setting shiftkey to: {shift} (language: enx)
start of natlinkstartup
Vocola not active
natlinkmain started from C:\NatLink\NatLink\MacroSystem\core:
  NatLink version: 4.1romeo
  DNS version: 15
  Python version: 27
  Windows Version: 8or10

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



As I have time I will begin to test functionality and report back here with my findings.



 01/24/2018 04:47 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

Thanks, Aaron, for reporting back. This is very interesting and useful indeed. In fact, you shouldn't have to worry about the messages referred to above much longer. Because of the problems which Quintijn had in retrieving the user language (and the problems caused for the users therein) I added a few enhancements to the source code, so as to get the information through the C++ API rather than via awkward Python (crawling over INI files, which is prone to errors, whereas, reading INI files through the Win32 API is just a cake also, and I have no idea why it isn't in Python, but don't care to know).

However, reading the information which is passed to the Python module now is only catered for in the recent "uniform" installer, and since this one didn't work for me the same as it doesn't work for you obviously, I gave you a version of the PYD which supports DPI 15 on the one hand, but is also compatible with pre-uniform natlink installers on the other.

Basically, if you get it running, just go ahead and check out the functionality, and don't worry about BOM stuff anymore. Hopefully, Quintijn will get it fixed soon.



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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!



 01/27/2018 11:48 AM
User is offline View Users Profile Print this message

Author Icon
Aaron Walker
New Member

Posts: 20
Joined: 01/20/2018

NatLink version: 4.1 romeo stopped working yesterday. Natlink seems to of lost registration with Dragon NaturallySpeaking. As evidenced below.

I first attempt was to try to reregister via GUI. In addition, I've tried downgrading and upgrading NatLink. The "Configure Natlink via GUI" it's as michaelbeijer describes persists. I've tried deleting and reinstalling Python and so on. Two things I have not tried is to reformat the PC or reinstall Dragon both of which I'm reluctant to do.



 01/27/2018 12:58 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

Two things I have not tried is to reformat the PC or reinstall Dragon both of which I'm reluctant to do.

 

 

At any event, don't. Going to such extremes won't help, as the problem is not with your PC, and not with Dragon either. It is with the NatLink installer.

 

For me, the last working (somehow) NatLink installer was "Quebec", but this is just my take on it, and I am not a real user of NatLink anyhow, all I do is to provide the API, so to speak. (And I am happy with it.)

 

Maybe it is time to sort it all out and start from scratch, as far as the installer and the configuration one might ask.

 

 



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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!



 01/26/2018 03:48 AM
User is offline View Users Profile Print this message

Author Icon
michaelbeijer
Top-Tier Member

Posts: 240
Joined: 12/07/2014

Like Aaron, I couldn't get "Configure Natlink via GUI" or "Configure Natlink via commandline" to run, even though I followed all the instructions (install Python 2.7, then natlink installer, etc.).

 

Everything seems to install fine, but clicking on "Configure Natlink via GUI" or clicking on "Configure Natlink via commandline" briefly opens a terminal window, on which some stuff happens, and then it quickly shuts again. Not sure how to proceed.

Michael



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

Dragon Professional Individual 15
KnowBrainer 2017 + AutoHotkey
Win 10 – 64-bit, i7, 32 GB RAM
SpeechWare 3-in-1 TableMike 



 01/28/2018 03:20 PM
User is offline View Users Profile Print this message

Author Icon
quintijn
Advanced Member

Posts: 181
Joined: 07/28/2014

Please leave this thread and tell on the thread about release 4.1uniform-3 if you still have this problem.

If so, please try to run "natlinkconfigfunctions.py" from (C:\natlink)\natlink\confignatlinkvocolaunimacro. The error is then probably there.
 01/28/2018 11:31 PM
User is offline View Users Profile Print this message

Author Icon
Aaron Walker
New Member

Posts: 20
Joined: 01/20/2018

Thanks for your hard work. As per your advice, it works!

Just a side note for those that might encounter the "Configure Natlink via GUI" issue refer to the post above. It's a workaround without the GUI interface.

 01/28/2018 04:03 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

As of today, reckoner confirmed that the overall functionality is back again, and that's good enough for me to leave the project now. Go on making the best of it.



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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!

 01/30/2018 12:37 AM
User is offline View Users Profile Print this message

Author Icon
Eric Paulson
New Member

Posts: 8
Joined: 08/06/2015

Not that I'm in a position to do a whole lot with it, but I was curious if the latest PYD source code is going to be released. From what I understand of the various licenses, you're under absolutely zero obligation to release it. I'm just curious.
 01/30/2018 10:49 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 6786
Joined: 03/04/2007

Eventually, I presume, the new source code will be published, just like the source code has always been published, as a part of Joel Gould's legacy, but not now.


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


No need to buy if all you want to do is try ...
DragonCapture, DragonEcho, DragonPhrases, DragonBench, DragonSources (more to come)
Click the picture and find out!

 01/30/2018 10:08 PM
User is offline View Users Profile Print this message

Author Icon
Eric Paulson
New Member

Posts: 8
Joined: 08/06/2015

I'm glad to hear it! I figured it was just a matter of time. I'm hopeful that someday someone with as much spare time, but more insight and skill than I have will update it for use with Python 3, and possibly 64-bit.
 02/02/2018 05:56 AM
User is offline View Users Profile Print this message

Author Icon
quintijn
Advanced Member

Posts: 181
Joined: 07/28/2014

After we have a stable release, at last, which probably takes another month, we can investigate Python 3 possibilities. About possibilities of 64-bit (Python?), and advantages of that, I do not know much at this moment.
 02/21/2018 11:17 AM
User is offline View Users Profile Print this message

Author Icon
chpla
Senior Member

Posts: 85
Joined: 05/26/2015

I'd like to thank everyone who worked hard on getting Natlink to work with DPI15, you guys are awesome! There is not enough words to express my gratitude, and I believe many other Natlink users feels this way.

I'd throw you all a party, but since we all live in different countries I think it wouldn't be much of a success!

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

Windows 10, Office 2013, DNS 13 Pro French (& English), intel i7-4790, RAM 16GB, SSD 240 GB for programs and OS, data files stored elsewhere, VXI headset with integrated soundcard.

 02/21/2018 11:48 AM
User is offline View Users Profile Print this message


G.J. Premo
Top-Tier Member

Posts: 776
Joined: 05/12/2007

Statistics
31273 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 1 users logged in.
The most users ever online was 3936 on 09/08/2015 at 11:44 AM.
There are currently 330 guests browsing this forum, which makes a total of 331 users using this forum.

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