I am switching between different grammars using the loadJSGF function but whenever I change to a new grammar, the very first word that is recognized is from the previous grammar. After the first word, all the other words are from the new grammar. Can anyone help me with this? Is there a way to flush the linguist grammar memory or something like that? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am switching between different grammars using the loadJSGF function but whenever I change to a new grammar, the very first word that is recognized is from the previous grammar. After the first word, all the other words are from the new grammar. Can anyone help me with this? Is there a way to flush the linguist grammar memory or something like that? Thanks.
Hello, I have the same problem as you. Have you found a solution?
Thanks.