Share March 2006: Project of the Month

CMU Sphinx

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

edu.cmu.sphinx.jsapi.JSGFGrammar

You are viewing a single message from this topic. View all messages.

  1. 2009-02-22 03:43:14 UTC
    Hello,

    I am new to Sphinx4 (1.0beta2) and am trying to run a test class (which is pretty much the same code as the hellodigits demo class.

    The problem is that I receive the following error:

    Property Exception component:'flatLinguist' property:'grammar' - mandatory property is not set!
    edu.cmu.sphinx.util.props.InternalConfigurationException
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:283)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:186)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:421)
    ...

    I see the following message in System.out:

    class not found !java.lang.ClassNotFoundException: edu.cmu.sphinx.jsapi.JSGFGrammar

    I can't seem to figure out where to find this class. It is not in the sphinx4.jar or any other jars that are in the sphinx4 distribution as far as I can tell. I would really appreciate any help that might be offered. Thanks.

    Regards,

    Joe
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.