Home › Forums › OpenEars › JSGF code example? › Reply To: JSGF code example?
April 18, 2013 at 7:59 pm #1016998
Ok, so to confirm, there is no “gram” file? I just create a text file with my grammar, use that as the input to generateLanguageModelFromTextFile and then pass the lmpath/dicpath that results into the startListeningWithLanguageModelAtPath?
Being that the only example is ARPA, and openears supports JSGF, I think it would be helpful for users to have a few lines of sample code to show how JSGF is implemented.