![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: coding and vocabularies Topic Summary: more efficient coding, vocabularies and commands Created On: 01/26/2023 03:14 PM Status: Post and Reply |
|
![]() |
![]() |
- bonelessevil | - 01/26/2023 03:14 PM |
![]() |
![]() |
- Lunis Orcutt | - 01/26/2023 08:15 PM |
![]() |
![]() |
- bonelessevil | - 01/26/2023 08:44 PM |
![]() |
![]() |
- Lunis Orcutt | - 01/26/2023 10:13 PM |
![]() |
![]() |
- wristofdoom | - 01/27/2023 12:46 PM |
![]() |
![]() |
- bonelessevil | - 01/27/2023 03:57 PM |
![]() |
![]() |
- kkkwj | - 01/28/2023 12:43 AM |
![]() |
|
I don't know if this is possible, but currently, switching between vocabularies is time consuming. It would be nice if I could hotkey switch, utilizing one vocabulary for commanding a software app (PyCharm, Maya, Blender) and another for dictating. I don't use a lot of vocabularies and only have 2 of them: one for general writing and another for Linux navigation (VM) and Python programming. I do utilize commands, but find adding words to the vocabulary to be a bit faster.
If my primary goal is coding, what would be the most efficient use of NaturallySpeaking? |
|
|
|
![]() |
|
You could automate the "vocabulary switch" with a personal command but there is no way to speed up the process. When you switch vocabularies or even your microphone, Dragon has to reload your user profile
------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|
|
|
![]() |
|
I wonder why I use 2 different vocabularies in the first place. I suppose I didn't want certain phrases, like "sudo apt-get update," from mistakingly popping up in normal writing of emails or whatnot. Is adding words to the vocabulary going to be faster than writing commands? And are some command types faster than others (e.g. step-by-step vs. advanced scripting)? I mean, I could set up every single extra phrase and hotkey as a command, keep the software in dictation mode and only use the hotkey to bring up commands. Would be slower? Also, I can just export/import the vocabulary from one list to another, right? But that won't include the enunciation .dra file for that word (assuming that's how the software works)? |
|
|
|
![]() |
|
The advantage of adding personal words/phrases to your vocabulary is that you do not have to pause before and after you dictate; like you would a command. This makes personalized vocabulary more efficient. The advantage of converting your specialized vocabulary into commands would make those phrases bulletproof. That way you cannot accidentally dictate a “command” phrase unless you dictate that phrase without accompanying dictation.
We never write step-by-step commands because we have the advantage of KnowBrainer VerbalBasic II but we suspect that step-by-step and Advanced-Scripting commands deploy at about the same speed. Step-by-step command construction is very easy but also limited. Advanced-Scripting is more capable but also a bit more complicated; hence the reason we created VerbalBasic II, which is NASCAR racing faster than step-by-step
You shouldn't have to worry about enunciation. Attempting to annunciate your dictation is unnatural and won't typically make Dragon more accurate. You do not have to dictate like Captain Kirk. Dragon is designed for natural dictation. Trust yourself, your microphone and Tennessee Jack Daniels
We suspect you might be making this procedure overly complicated. If we were doing this, we would just combine our vocabularies and avoid the painstaking command creating step. Just over $0.02 on that answer ------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|
|
|
![]() |
|
> I suppose I didn't want certain phrases, like "sudo apt-get update," from mistakingly popping up in normal writing of emails or whatnot.
I don't think you need to worry about that, in this case at least. "sudo apt-get update" doesn't sound like anything else that I would be likely to say in an email. Why not create new user profile, combine your vocabs, and try doing what you need to do? One thing I like about using commands instead of vocabulary words for code-y formatting is the precision of spacing and capitalization in non-dragon friendly apps. Another advantage of commands is that you can restrict the app they work in. So if you are only ever going to be sudoing stuff in a command line, then the command will only run in that context. Another advantage of commands is that you can set up variations on a phrase in a way that's more smarter than adding a bunch of different similar vocabulary phrases. This can be huge when you are trying to do more that just type the text that you've uttered. EG, if you had a command called "sudo apt-get DICTATION" where DICTATION = arbitrary dictated text, then you'll get the advantage of the recognition of "sudo apt-get" and you will be able to do more complex stuff with the variable. ``` Sendkeys "sudo apt-get ", 1 If ListVar1 = "update" then Sendkeys "update", 1 If ListVar1 = "foo" then "Sendkeys "this is a bunch of text I don't feel like dictating all the time so I will trigger it with the word foo", 1 If ListVar1 = "paste" then Sendkeys "^v", 1 '// paste your clipboard ``` etc ------------------------- Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017. |
|
|
|
![]() |
|
thanks! That gives me some ideas. |
|
|
|
![]() |
|
And keep in mind that if you are going to need scalability one day, all, or almost all, the expert users on this forum end up writing simple Dragon commands that recognize the utterance and pass the ListVar recognized text out to external programs like AutoHotKey, C#, or some other macro programming environment that can do more intelligent things with the utterance. You might save yourself some time by learning how to do that at the front of your customization journey.
------------------------- 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. |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.