Menu

updating HelloWorld in Sphinx-4

Help
simon
2007-12-27
2012-09-22
  • simon

    simon - 2007-12-27

    Hello all,

    I'm using Sphinx-4. I was able to modify the HelloWorld to make it recognize words I needed by:

    1) Modified the "hello.gram" file with words that fitted my application.
    2) Rebuild the "ant" project
    3) Running the "build.xml"

    With these three steps my words were recognized because they were printed on the screen when I spoke them. However, when I modify the "HelloWorld.java" nothing happens. I tried simple things such as changing the: Good morning|Hello, and the names:

    eg:
    Say: (Good morning | Hello) ( Bhiksha | Evandro | Paul | Philip | Rita | Will )
    Start speaking. Press Ctrl-C to quit.

    Nothing I do on "helloworld.java" seems to have an effect. Maybe I'm missing something after I modified the file. I tried building it after the chages but it didn't work. If anyone knows anything or has suggestions they are welcomed.

    Thank you,

    Simon

     
    • simon

      simon - 2007-12-27

      I found what the problem was. For those interested the steps after the java files has been changed are:

      1) "Clean and Build Main Project" instead of just "Build Main Project"
      2) "run" from the "build.xml"

       

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.