Forum Replies Created

Viewing 1 post (of 1 total)

  • Author
  • in reply to: JSGF Performance #1021734

    Halle – thanks for getting back to me. Because my app is cordova based, I have written plugins for iOS (and pocketsphinx for Android), so I need a way to define my rules in a separate file that both systems can use.

    Splitting up the rules a bit has helped, and my idea is to use the Sphinx knowledge base generator to create language model and dictionary files for each type of crew member, and swap them on the fly. I tested this method this morning, and I am getting the following error when trying to swap the files:

    Error: couldn’t get attributes of language model file.

    If I use the file when I initially call startListeningWithLanguageModelAtPath, it works fine, it just fails with the changeLanguageModelToFile method.

    Thanks again!

Viewing 1 post (of 1 total)