KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Some sort of recognition bug/change
Topic Summary: sometime in the last 48 hrs, the all cap words in "FORWARD Key Hold Down" stopped being recognized and had to be changed
Created On: 02/04/2021 10:09 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Some sort of recognition bug/change   - Twisted_Code - 02/04/2021 10:09 PM  
 Some sort of recognition bug/change   - Edgar - 02/05/2021 11:38 AM  
 Some sort of recognition bug/change   - Twisted_Code - 02/11/2021 01:32 AM  
 Some sort of recognition bug/change   - Twisted_Code - 09/04/2021 07:59 PM  
 Some sort of recognition bug/change   - Ag - 09/05/2021 01:15 PM  
 Some sort of recognition bug/change   - Lunis Orcutt - 09/05/2021 12:35 PM  
Keyword
 02/04/2021 10:09 PM
User is offline View Users Profile Print this message

Author Icon
Twisted_Code
Senior Member

Posts: 99
Joined: 04/01/2015

strangely, "CONTROL Key Hold Down" and other commands based on my modified version of the <keyname> list still seem to work. It is only FORWARD that is no longer recognized and had to be changed to "Forward". I think this may have something to do with the Windows update I just installed, but I also remember having some sort of problem with this last night before that update was installed so I can't say for certain. Does anyone know why this is happening with only one word? It's like capitalizing this word is taboo to The Almighty Dragon or something...



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

“Talk is cheap. Show me the code.” ~ Linus Torvalds


 


"It is good to have empathy.  But it is not essential.  What is essential is that one displays empathy, however one musters it." ~ ax (in a post on this very forums)


 


more favorite quotes

 02/05/2021 11:38 AM
User is offline View Users Profile Print this message

Author Icon
Edgar
Top-Tier Member

Posts: 1396
Joined: 04/03/2009

We would need to see your modified version of the key name list.

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

-Edgar
DPI 15.3, 64-bit Windows 10 Pro, OpenOffice & Office 365, Norton Security, Shure X2U XLR to USB mic adapter with Audio Technica DB135 vocal mic & Shokz OpenComm UC version 1 wireless headset, Asus X299-Deluxe Prime, Intel Core i9-7940X (14 core, 4.3 GHz overclocked to 4.9 GHz), G.SKILL TridentZ Series 64GB (4 x 16GB) DDR4 3333 (PC4 26600) F4-3333C16Q-64GTZ, NVIDIA GIGABYTE GeForce GTX 1060 GV-N1060G1 GAMING-6GD REV 2.0 6GB graphics card with 3 1920x1080 monitors

 02/11/2021 01:32 AM
User is offline View Users Profile Print this message

Author Icon
Twisted_Code
Senior Member

Posts: 99
Joined: 04/01/2015

I can't seem to reproduce the issue after rebooting my system, as the modified version of the keyname list no longer seems to be working on the original one works again. Absolutely no clue why it changed, but just to say to anyone's curiosity about what the difference between the lists was, the original list is this (for some reason the block quotes are not rendering on my browser. I checked the HTML and it's not working):

WINDOWS Key
CONTROL Key
SHIFT Key
ALT Key
FORWARD Key
UP Arrow
BACK Key
DOWN Arrow
LEFT Arrow
RIGHT Arrow
SPACE Key
SPACEBAR

the modified list is this:

WINDOWS Key
CONTROL Key
SHIFT Key
ALT Key
Forward Key
UP Arrow
BACK Key
DOWN Arrow
LEFT Arrow
RIGHT Arrow
SPACE Key
SPACEBAR

for some reason, recognizing the all-capped variant of one specific word (in this case "FORWARD") suddenly stopped working, but all other all-capped words stayed the same. It's a random enough change (especiallyconsidering it went back to "normal") to make me wonder if it has something to do with the voice model shifting, such that I could've possibly fixed it by training "FORWARD".

on a COMPLETELY separate note, why is there no way to reply with the advanced editor on this forum without replying to a specific post? I even tried messing with the URL to remove the PARENTID but, shockingly, ended up with a server error...



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

“Talk is cheap. Show me the code.” ~ Linus Torvalds


 


"It is good to have empathy.  But it is not essential.  What is essential is that one displays empathy, however one musters it." ~ ax (in a post on this very forums)


 


more favorite quotes



 09/04/2021 07:59 PM
User is offline View Users Profile Print this message

Author Icon
Twisted_Code
Senior Member

Posts: 99
Joined: 04/01/2015

this seems to have happened again. the engine has seemingly stopped matching my voice to the ALL CAPS WORDS and only recognizes it as non-command dictation unless (at least, I'm hoping this will fix it) I add lowercase words to the already-quite-long list.
I'm just going to change the script on a permanent basis using logical operators. Before I do that, what would the equivalent of the following Python statement be?:
if variable in ["SPACE key", "Space Key", "space key"]: do something
be? I'd rather not have to write stuff like
If ListVar1 = "CONTROL Key" or ListVar1 = "Control Key" or ListVar1 = "control key"...............
because it's not nearly as pretty. Then again, if I'm being honest, I don't understand why WinWrap basic was chosen for scripting in the first place. I would've even preferred Lua over WRB, and I hate Lua



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

“Talk is cheap. Show me the code.” ~ Linus Torvalds


 


"It is good to have empathy.  But it is not essential.  What is essential is that one displays empathy, however one musters it." ~ ax (in a post on this very forums)


 


more favorite quotes



 09/05/2021 01:15 PM
User is offline View Users Profile Print this message

Author Icon
Ag
Top-Tier Member

Posts: 1150
Joined: 07/08/2019

Originally posted by: Twisted_Code I'd rather not have to write stuff like If ListVar1 = "CONTROL Key" or ListVar1 = "Control Key" or ListVar1 = "control key"............... because it's not nearly as pretty.

 

Why not  if( lowercase(ListVar1) = "control key" )?  

 

Sorry, I don't write my scripts in Basic any more, so I don't know what the Basic version of lowercase(s) is off the top of my head.

 

IMHO that's better even than your Python Dictionary.

IMHO^2 regexps are even better.

 



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

DPG15.6 (also DPI 15.3) + KB, Sennheiser MB Pro 1 UC ML, BTD 800 dongle, Windows 10 Pro, MS Surface Book 3, Intel Core i7-1065G7 CPU @ 1.3/1.5GHz (4 cores, 8 logical, GPU=NVIDIA Quadro RTX 3000 with Max-Q Design.

 09/05/2021 12:35 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 40906
Joined: 10/01/2006

We recommend closing and relaunching your user profile, if you haven't already done so. However, when it comes to dictating code, our preference is to convert specialized coding scripts into listing commands rather than dictation, as we have done in KnowBrainer VerbalBasic. Although commands require pausing, it is much more bulletproof



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

Change "No" to "Know" w/KnowBrainer 2022
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ex 1



Statistics
32616 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 3 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 146 guests browsing this forum, which makes a total of 149 users using this forum.

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