Menu

problem with demos

Help
sour
2007-09-13
2012-09-22
  • sour

    sour - 2007-09-13

    I installed sphinx4 and wanted to try out the demos, but everytime I open for example HelloWorld.jar it stops when loading

    > sphinx4 # java -mx312m -jar bin/HelloWorld.jar
    > Loading...

    I don't know why. Anyone can help?

    I'd really appreciate it!

     
    • simon

      simon - 2007-12-11

      you are missing some .jar files in the classpath. I had the same errors if you still need help post back. I'll try to help but I'm new as well

       
    • Holger Brandl

      Holger Brandl - 2007-09-13

      try -Xmx instead -mx

      Best regards,
      Holger

       
    • sour

      sour - 2007-09-13

      thanks for the response, but doesn't help :(

       
    • Holger Brandl

      Holger Brandl - 2007-09-13

      > ...stops loading...
      What is the error message?

      -holger

       
    • sour

      sour - 2007-09-13

      no error. it just says > Loading...
      and then nothing occurs until I stop it by hand (ctrl+c).

       
    • sour

      sour - 2007-09-13

      i ran it in eclipse and it says:
      "Exception in thread "main" java.lang.Error: Unresolved compilation problems:
      assert cannot be resolved to a type
      Duplicate local variable variance
      Syntax error on token ".", = expected
      length cannot be resolved

      at edu.cmu.sphinx.linguist.acoustic.tiedstate.MixtureComponent.<init>(MixtureComponent.java:82)
      at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.createSenonePool(ModelLoader.java:610)
      at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadModelFiles(ModelLoader.java:558)
      at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.load(ModelLoader.java:476)
      at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model.allocate(Model.java:175)
      at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocateAcousticModel(FlatLinguist.java:242)
      at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:224)
      at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.allocate(SimpleBreadthFirstSearchManager.java:576)
      at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.java:109)
      at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:182)
      at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:54)"
      
       
    • N sync

      N sync - 2007-09-19

      i problem in JBuilder
      I get
      Problem configuring HelloDigits: Property Exception component:'jsgfGrammar' property:'grammarLocation' - Can't locate resource:/demo.sphinx.hellodigits.HelloDigits

      Property Exception component:'jsgfGrammar' property:'grammarLocation' - Can't locate resource:/demo.sphinx.hellodigits.HelloDigits

      at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getResource(ValidatingPropertySheet.java:372)
      
      at edu.cmu.sphinx.jsapi.JSGFGrammar.newProperties(JSGFGrammar.java:272)
      
      at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
      
      at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
      
      at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:248)
      
      at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
      
      at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
      
      at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProperties(SimpleBreadthFirstSearchManager.java:180)
      
      at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
      
      at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
      
      at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:71)
      
      at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
      
      at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
      
      at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:93)
      
      at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
      
      at demo.sphinx.hellodigits.HelloDigits.main(HelloDigits.java:48)
      
       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.