KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Output list of custom commands to a plain text document?
Topic Summary:
Created On: 08/10/2021 01:11 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Output list of custom commands to a plain text document?   - benTalks - 08/10/2021 01:11 PM  
 Output list of custom commands to a plain text document?   - Lunis Orcutt - 08/10/2021 03:17 PM  
 Output list of custom commands to a plain text document?   - Ag - 08/16/2021 11:25 PM  
 Output list of custom commands to a plain text document?   - R. Wilke - 08/10/2021 03:34 PM  
 Output list of custom commands to a plain text document?   - Edgar - 08/10/2021 03:49 PM  
 Output list of custom commands to a plain text document?   - Edgar - 08/10/2021 03:51 PM  
 Output list of custom commands to a plain text document?   - Lunis Orcutt - 08/15/2021 02:06 PM  
 Output list of custom commands to a plain text document?   - Lunis Orcutt - 08/15/2021 02:25 PM  
 Output list of custom commands to a plain text document?   - monkey8 - 08/18/2021 05:14 PM  
 Output list of custom commands to a plain text document?   - benTalks - 08/15/2021 12:47 PM  
 Output list of custom commands to a plain text document?   - Edgar - 08/15/2021 06:36 PM  
 Output list of custom commands to a plain text document?   - Ag - 08/16/2021 11:16 PM  
 Output list of custom commands to a plain text document?   - kkkwj - 08/17/2021 10:47 PM  
 Output list of custom commands to a plain text document?   - monkey8 - 08/18/2021 05:08 PM  
Keyword
 08/16/2021 11:16 PM
User is offline View Users Profile Print this message

Author Icon
Ag
Top-Tier Member

Posts: 864
Joined: 07/08/2019

I do this regularly, creating and comparing command lists, as part of my version control and change tracking system. I have Dragon speech commands that export MyCmds.xml (which I call MyCommands-Dragon.xml for various reasons), and then invoke the following from the cygwin command line, , or more often makefiles and other scripts.

 

Here's the quick and dirty approach:

 

< MyCommands-Dragon.xml iconv -f utf-16 -t utf-8 | grep '

 

I started to clean the above up by providing xmlstarlet commands, but I'm too lazy, the above is good enough, culture at howsoever you may want.

 

 

Obviously you probably also want to provide lists.

 

 

And for me this is only the very small number of commands that I actually writing Dragon's basic like scripting language, many many more of my commands live in AutoHotKey.

 

 

Providing a decent browser for such command lists is on my to do some day. Complicated by the fact that I wish to have it use regular expressions or grammars, not just a fixed list of commands.

 

 

 

I.e. I want to type "foo bar", and I want to find all the regular expressions for BNF or whatever that match "foo bar" or "bar foo".



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

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.



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

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