Keltus
02-18-2002, 12:55 PM
hi, I'm making a program that listens for phrases in the microphone and then it triggers certain events based on this
right now, I'm using the grammar compiler from the speech SDK by microsoft but I would like it so that the user could edit an .ini file to edit which phrases he wants to be captured. For example:
in phrases.ini
Run Napster - C:\Windows\Napster.exe
Run Internet Explorer - C:\Windows\IE.exe
etc.
however, the grammar compiler compiles an .xml file and it has to be compiled with the program. So the user would have to compile the program every time he wanted to change the phrases to capture. I would have to include the source and everything with the program too.
this is extremely inconvenient and if anyone knows of a different way, please tell me. I think it would involve not using the grammar compiler but all the MSsamples use the grammar compiler.
thanks for reading my post
right now, I'm using the grammar compiler from the speech SDK by microsoft but I would like it so that the user could edit an .ini file to edit which phrases he wants to be captured. For example:
in phrases.ini
Run Napster - C:\Windows\Napster.exe
Run Internet Explorer - C:\Windows\IE.exe
etc.
however, the grammar compiler compiles an .xml file and it has to be compiled with the program. So the user would have to compile the program every time he wanted to change the phrases to capture. I would have to include the source and everything with the program too.
this is extremely inconvenient and if anyone knows of a different way, please tell me. I think it would involve not using the grammar compiler but all the MSsamples use the grammar compiler.
thanks for reading my post