dashesy

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • Author
    Posts
  • in reply to: Compatibility issue with CMU JSGF example #1015804
    dashesy
    Participant

    I finally got it all working even with a fairly complex grammar. The main hurdle in all of this is that the grammar parsing may throw errors, but startListeningWithLanguageModelAtPath silently ignores all of that instead of issuing an error.
    The only way to figure that out is to turn on the verbose output and read through the text (I did not expect that so it took more time than it should really because the software works great by itself).
    If it returned an error or if there was a pocketsphinxErrorFound in OpenEarsEventsObserverDelegate one could at least use that when debugging the problems. Just any text with the word “error” is probably an error.

    Thanks for the great software!

    in reply to: Compatibility issue with CMU JSGF example #1015796
    dashesy
    Participant

    On further attempt I added a semicolon to the first line, and now it is parsed correctly!
    just wanted to let you know it requires “#JSGF V1.0;”

    Thanks

    in reply to: Compatibility issue with CMU JSGF example #1015795
    dashesy
    Participant

    I am trying 1.3, and it seems the parsing problem is still there, Is that right or maybe I am doing something wrong.
    I also get a crash, and when I look at the verbose output I see this:

    ERROR: “jsgf_parser.y”, line 155: syntax error, unexpected RULENAME, expecting TOKEN or ‘;’ at line 3 current token ”

    Any advice is appreciated

Viewing 3 posts - 1 through 3 (of 3 total)