Menu

Sphinx-4 compiling problem in NetBeans

Help
shorif
2008-01-16
2012-09-22
  • shorif

    shorif - 2008-01-16

    Hi
    I am quite new in Java and Sphinx. I am using NetBeans 6 for compiling Sphinx-4. I have followed everything that the following web link told to do for compiling and running Sphinx-4 using NetBeans.

    http://cmusphinx.sourceforge.net/sphinx4/doc/NetBeans.html

    But still in every .java file, where it declairs the package or import other package, netBeans says incorrect package. For example:

    package edu.cmu.sphinx.decoder;

    which is in decoder.java file and that file is indeed present in the package cmu.sphinx which is in edu folder.

    Does anyone know how can I fix this problem.

     
    • SAM Khan

      SAM Khan - 2008-06-16

      Hello,

      I am using sphinx for my java application. Its working absoletuly fine. but the problem is I need to denug my application. I know I need to change the XML files.

      but I am exactly sure how to add target to debug.
      If anybody else have done it. please tell me where to add it to debug whole application?

      Many thanks

       
    • simon

      simon - 2008-01-16

      I have the same problem, I've been working with Sphinx 4 and can't solve this problem. You should be able to run the "hello world" demo though. If you are able to solve the problem please post the answer; I will do the same if I can solve it on this end.

      Simon

       
    • John Hall

      John Hall - 2008-01-16

      Does it build and run when you right click build.xml (in helloworld) and run?

       
      • simon

        simon - 2008-01-16

        My "Hello Wrold" runs fine. The problem is on other demo programs that require additional packages or additional files I wanted to add and it does not recognize them.

         
    • Nickolay V. Shmyrev

      Hm, howto is outdated for sure. It's easier to setup sphinx4 in eclipse right now, you can only remove some packages from build. In netbeans it's more complicated - you have to add folders like src/sphinx4 as source folders in project properties. But it's not that easy. Hope, these problems will be resolved soon.

       
    • viero86

      viero86 - 2008-02-20

      If you still insist on using NetBean,this is the solution:
      http://sourceforge.net/forum/message.php?msg_id=4620237
      Contact with me if you have any problems,my email is khaitranviet@gmail.com
      Regards.

       

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.