Home › Forums › OpenEars › Mixing JSGF and default using changeLanguageModelToFile › Reply To: Mixing JSGF and default using changeLanguageModelToFile
Correct me if I’m wrong – there are 2 files in play:
1. A “language model file” (created from an array) OR a “grammar file” (created from a dictionary and
2. A dictionary file created when either of the above was created.
As an API user, I stop caring which one I am using after the calls to pathToSuccessfullyGeneratedLanguageModelWithRequestedName OR pathToSuccessfullyGeneratedGrammaryWithRequestedName
AND
pathToSuccessfullyCreatedDictionaryWithRequestedName
At this point I have a model file and a dictionary file and should pass the corresponding filename pairs to the appropriate APIs.
Do I have that right?