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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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"