Menu

How to get rid of loading default.gram when using JSGFGrammar for decoding

Long Qin
2014-11-25
2014-11-25
  • Long Qin

    Long Qin - 2014-11-25

    Hi,

    When I try to decode using JSGFGrammar. When doing recognizer.allocate(), it has to load a default grammar, although I won't use it. I will do

    jsgfGrammarManager.loadJSGF(another_grammar);

    to decode with the grammar I want. Is there a way to get rid of loading the default grammar?

     
  • Nickolay V. Shmyrev

    You can always modify the source code to ignore grammar which is not set.

     

Log in to post a comment.