Elite Dangerous has literally billions of star systems, with really weird names.
There is a smallish subset of star systems called the Human bubble(or even a subset of those https://eddb.io/api
) that I want to be able to say the name and have VA recognize it properly.
while looking for a way to bulk upload "new words" to the windows speech recognition dictionary I ran across this:https://msdn.microsoft.com/en-us/library/ee125183(v=vs.85).aspx
This seemed pretty close with a couple of possible issues:
1: Seems to indicate that this would limit the recognition grammar to ONLY these words because its a "command an control grammar" and I don't want that. I just want to system names to be ADDED TO the existing stuff.
2: Will VA' s VB sandbox load XML an file from disk?
I can do code to grab and convert the JSON from EDDB.io to the below XML format that the VB code needs. However I am not a VB guy so I am probably missing something. Any tips,suggestion example code would be greatly appreciated
<ID NAME="RID_NewGame" VAL="101"/>
<RULE NAME="newgame" ID="RID_NewGame" TOPLEVEL="ACTIVE">
In cases when a second grammar file is needed, copy the following XML code into a new file named sol2.xml.
<ID NAME="RID_FileGame" VAL="200"/>
<RULE NAME="filegame" ID="RID_FileGame" TOPLEVEL="ACTIVE">