KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules
Topic Summary:
Created On: 06/09/2018 03:07 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - janoshon - 06/09/2018 03:07 PM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - R. Wilke - 06/09/2018 04:37 PM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - janoshon - 06/10/2018 01:38 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - R. Wilke - 06/10/2018 04:22 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - janoshon - 06/10/2018 08:02 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - R. Wilke - 06/10/2018 08:33 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - janoshon - 06/10/2018 03:11 PM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - R. Wilke - 06/10/2018 03:59 PM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - janoshon - 06/16/2018 04:28 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - R. Wilke - 06/16/2018 04:47 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - janoshon - 06/16/2018 05:48 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - janoshon - 06/16/2018 06:15 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - quintijn - 06/16/2018 11:11 AM  
 Help? D13/Vocoda/Natlink: braces, brackets etc. don't get reproduced from rules   - mdl - 11/27/2021 04:41 PM  
Keyword
 06/09/2018 03:07 PM
User is offline View Users Profile Print this message

Author Icon
janoshon
New Member

Posts: 7
Joined: 06/09/2018

Hello

I messed up my arms, so I tried to find a way to code using voice. I have Windows 10 and Dragon 13 and I slavishly followed the instructions I found here: http://handsfreecoding.org/2014/10/26/getting-started-with-voice-coding/ With a bit of head scratching I got everything installed and running, but ran into a problem: braces, brackets, pipe etc. either don't appear at all, or they appear as the numbers they share a key with on the keyboard in the Finnish keyboard layout. When I change the keyboard layout to English, other kinds of weirdness happens.

 

If I go to Notepad and edit vois commands, a test command like this "Test command = "xx{hello[] | world}";" produces "xx[hello[] \ world]" with a US English keyboard layout and "xx7hello89 < world0" with Finnish one. This also happens when I use ready-made grammars for programming languages. For example the rule ""code block":           Text("{") + Key("enter")+ Key("enter") + Text("}")" in _cs_grammar.py suffers from this.

 

The region of my windows is set to Finnish and the language is set to US English.

 

Obviously this makes coding difficult, and I have no idea where to start figuring this out - especially because I don't know Python although I know very rusty Perl, Java et cetera.



 06/09/2018 04:37 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 7881
Joined: 03/04/2007

The region of my windows is set to Finnish and the language is said to US English.


Which keyboard layout are you using?

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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage

 06/10/2018 01:38 AM
User is offline View Users Profile Print this message

Author Icon
janoshon
New Member

Posts: 7
Joined: 06/09/2018

Originally posted by: R. Wilke
The region of my windows is set to Finnish and the language is said to US English.
Which keyboard layout are you using?

 

As I said up there, I tried both the Finnish layout and the US English one, with slightly different results.

 06/10/2018 04:22 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 7881
Joined: 03/04/2007

Sorry, I missed that. Going by the wrong replacements, this may be an Ansi vs. UNICODE encoding problem, although it is just a wild guess. In which application does this happen?

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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage

 06/10/2018 08:02 AM
User is offline View Users Profile Print this message

Author Icon
janoshon
New Member

Posts: 7
Joined: 06/09/2018

Originally posted by: R. Wilke Sorry, I missed that. Going by the wrong replacements, this may be an Ansi vs. UNICODE encoding problem, although it is just a wild guess. In which application does this happen?

 

So far it has happened in every application I have tried. As in Word, Notepad, Notepad++, etc. I also thought it might be something like that. Sounds like I might have to dive into the Python code, but I have no idea where to start looking for the right place to poke.

 

 



 06/10/2018 08:33 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 7881
Joined: 03/04/2007

Which version of NatLink do you use? Which implementation (such as Vocola, Dragonfly etc.) do you use? - It may have to do with your Windows localization, but I am sorry that I can't be of any specific help. Quintijn should chime in, and I am sure that he is back from his holiday by now. I will send him a message.



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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage

 06/10/2018 03:11 PM
User is offline View Users Profile Print this message

Author Icon
janoshon
New Member

Posts: 7
Joined: 06/09/2018

Originally posted by: R. Wilke Which version of NatLink do you use? Which implementation (such as Vocola, Dragonfly etc.) do you use? - It may have to do with your Windows localization, but I am sorry that I can't be of any specific help. Quintijn should chime in, and I am sure that he is back from his holiday by now. I will send him a message.

 

Oh, thank you for your help so far!

 

Here I'll reveal my level of noobness, because I'm not totally sure. I followed these instructions and installed whatever they instructed, so I guess I have Natlink 4.1victor and whatever versions of Vocoda 2 and Unimacro came with the combined installer. I'm not sure where to check the exact versions of the components.

 

http://qh.antenna.nl/unimacro/installation/installation.html

 

I installed Dragonfly from here: https://github.com/t4ngo/dragonfly



 06/10/2018 03:59 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 7881
Joined: 03/04/2007

Quintijn said that he will be here soon, but it may not be as easy.


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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage

 06/16/2018 04:28 AM
User is offline View Users Profile Print this message

Author Icon
janoshon
New Member

Posts: 7
Joined: 06/09/2018

Unfortunately, still no luck with this. I followed these instructions here: https://www.youtube.com/watch?v=yVEbAcxEPWY

So it looks like I have Python 2.7.14, pywin 2.7, natlink 4.1papa and dragonfly 0.6.6b1.

I wonder if updating to a later version would help with this, but I'm sure if I will download some versions and installed them, I will just break something. Any help with this?
 06/16/2018 04:47 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 7881
Joined: 03/04/2007

I can't speak for Dragonfly, as I have never touched it, but the most recent NatLink installer is 4.1 Victor:

https://sourceforge.net/projects/natlink/  

Not sure whether this will resolve your particular issue, though, but you may want to give it a try anyway.



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



No need to buy if all you want to do is try ...

DragonCapture KB Download (Latest)
DragonCapture Homepage



 06/16/2018 05:48 AM
User is offline View Users Profile Print this message

Author Icon
janoshon
New Member

Posts: 7
Joined: 06/09/2018

Ah, yes, that's what I tried initially. No joy unfortunately :/
 06/16/2018 06:15 AM
User is offline View Users Profile Print this message

Author Icon
janoshon
New Member

Posts: 7
Joined: 06/09/2018

Okay, it looks like the problem is, the system doesn't know how to press the Alt Gr key. For example all the numbers in the Finnish output corresponding to the keys you are supposed to press together with Alt Gr. I checked Stack Overflow, and found one other situation like this, but with iPython. At least the problem is narrowed down now.
 06/16/2018 11:11 AM
User is offline View Users Profile Print this message

Author Icon
quintijn
Top-Tier Member

Posts: 218
Joined: 07/28/2014

Sorry for jumping in only just now. Janoshon, can we discuss this in private email? q.hoogenboom@antenna.nl

We will share the conclusions on this forum again. It has nothing to do with recent or older versions of NatLink.



 11/27/2021 04:41 PM
User is offline View Users Profile Print this message


mdl
Top-Tier Member

Posts: 917
Joined: 04/18/2009

janoshon, what was the outcome here? I'm testing a new version of Vocola that may be better able to deal with these sorts of problems.
Statistics
32325 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 525 guests browsing this forum, which makes a total of 527 users using this forum.

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