Reply To: JSGF code example?

Home Forums OpenEars JSGF code example? Reply To: JSGF code example?


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.