![]() |
KnowBrainer Speech Recognition | ![]() |
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 |
|
![]() |
![]() |
- janoshon | - 06/09/2018 03:07 PM |
![]() |
![]() |
- R. Wilke | - 06/09/2018 04:37 PM |
![]() |
![]() |
- janoshon | - 06/10/2018 01:38 AM |
![]() |
![]() |
- R. Wilke | - 06/10/2018 04:22 AM |
![]() |
![]() |
- janoshon | - 06/10/2018 08:02 AM |
![]() |
![]() |
- R. Wilke | - 06/10/2018 08:33 AM |
![]() |
![]() |
- janoshon | - 06/10/2018 03:11 PM |
![]() |
![]() |
- R. Wilke | - 06/10/2018 03:59 PM |
![]() |
![]() |
- janoshon | - 06/16/2018 04:28 AM |
![]() |
![]() |
- R. Wilke | - 06/16/2018 04:47 AM |
![]() |
![]() |
- janoshon | - 06/16/2018 05:48 AM |
![]() |
![]() |
- janoshon | - 06/16/2018 06:15 AM |
![]() |
![]() |
- quintijn | - 06/16/2018 11:11 AM |
![]() |
![]() |
- mdl | - 11/27/2021 04:41 PM |
![]() |
|
Hello
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. |
|
|
|
![]() |
|
Which keyboard layout are you using? ------------------------- The New Game in Town: DragonConnect |
|
|
|
![]() |
|
As I said up there, I tried both the Finnish layout and the US English one, with slightly different results. |
|
|
|
![]() |
|
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?
------------------------- The New Game in Town: DragonConnect |
|
|
|
![]() |
|
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.
|
|
|
|
![]() |
|
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.
------------------------- The New Game in Town: DragonConnect |
|
|
|
![]() |
|
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 |
|
|
|
![]() |
|
Quintijn said that he will be here soon, but it may not be as easy.
------------------------- The New Game in Town: DragonConnect |
|
|
|
![]() |
|
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? |
|
|
|
![]() |
|
I can't speak for Dragonfly, as I have never touched it, but the most recent NatLink installer is 4.1 Victor: ------------------------- The New Game in Town: DragonConnect |
|
|
|
![]() |
|
Ah, yes, that's what I tried initially. No joy unfortunately :/
|
|
|
|
![]() |
|
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.
|
|
|
|
![]() |
|
Sorry for jumping in only just now. Janoshon, can we discuss this in private email? q.hoogenboom@antenna.nl |
|
|
|
![]() |
|
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.
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.