I think it would be quite interesting the .gram file could be changed while the application is running, not manually but using code.
The first advantaje that comes to my mind is that it could improve accurracy.
Does anyone has an idea if this is possible??
Thanks and excuse me for my english.
Santiago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I correct myself, what i couldnt find reference to wasnt the config.xml file but the .gram file, thats the to change depending on the word recognized but i couldnt find where it is accesed to, having differente .gram files i could swap them to my convenience.
Thanks,
Santiago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
but I didnt understand it completely since i found nothing similar to "grammar com.acme.commands;" in sphinx 4.
I have an idea but I dont know if it is possibble: If i could change the config.xml file depending on the words recognized and have a set of different .gram files it would solve the problem. Can this be made?? I debbuged the application but couldnt find when the config.xml file is called....
Thanks,
Santiago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I think it would be quite interesting the .gram file could be changed while the application is running, not manually but using code.
The first advantaje that comes to my mind is that it could improve accurracy.
Does anyone has an idea if this is possible??
Thanks and excuse me for my english.
Santiago
I correct myself, what i couldnt find reference to wasnt the config.xml file but the .gram file, thats the to change depending on the word recognized but i couldnt find where it is accesed to, having differente .gram files i could swap them to my convenience.
Thanks,
Santiago
Use search
https://sourceforge.net/search/index.php?group_id=1904&type_of_search=forums&pmode=0&words=%28%2Bchange+%2Bgrammar%29&Search=Search
It's possible. See the API reference.
Hi, thanks for the tip, however i couldn´t find what i was expecting, could you be more precise please?
I did find something interesting in the following link:
http://java.sun.com/products/java-media/speech/forDevelopers/JSGF/JSGF.html#17971
but I didnt understand it completely since i found nothing similar to "grammar com.acme.commands;" in sphinx 4.
I have an idea but I dont know if it is possibble: If i could change the config.xml file depending on the words recognized and have a set of different .gram files it would solve the problem. Can this be made?? I debbuged the application but couldnt find when the config.xml file is called....
Thanks,
Santiago