I've been trying a few weeks now to get this demo to work: https://cmusphinx.github.io/wiki/tutorialsphinx4/
But no success.
In Windows 10, using eclipse, I added manually the libraries sphinx4-core-5prealpha, and sphinx4-data-5prealpha.
I'm getting the error "The type edu.cmu.sphinx.api.StreamSpeechRecognizer is not accessible" at the top, and at the bottom I'm having "Configuration cannot be resolved to a type"
I attached a screenshot of the error, since it might be easier to see what's going on there.
I have to add, I'm a java newbie, so it could be something simple.
Any ideas? is it something simple, or is there a problem with the libraries?
Gradle and Maven both didn't work for me either, tried multiple times.
I started now on a clean Windows 7, installed all the latest java and eclipse, added gradle to eclipse, created new project and added
mavenLocal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
to repositories and the 2 lines
compile group: 'edu.cmu.sphinx', name: 'sphinx4-core', version:'5prealpha-SNAPSHOT'
compile group: 'edu.cmu.sphinx', name: 'sphinx4-data', version:'5prealpha-SNAPSHOT'
to dependencies.
I get now on the import edu.cmu.sphinx.api.Configuration:
Multiple markers at this line
-the import edu cannot be resolved
-Occurence of 'edu'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been trying a few weeks now to get this demo to work: https://cmusphinx.github.io/wiki/tutorialsphinx4/
But no success.
In Windows 10, using eclipse, I added manually the libraries sphinx4-core-5prealpha, and sphinx4-data-5prealpha.
I'm getting the error "The type edu.cmu.sphinx.api.StreamSpeechRecognizer is not accessible" at the top, and at the bottom I'm having "Configuration cannot be resolved to a type"
I attached a screenshot of the error, since it might be easier to see what's going on there.
I have to add, I'm a java newbie, so it could be something simple.
Any ideas? is it something simple, or is there a problem with the libraries?
It is 2019 around. Try Gradle/IntelliJ Idea.
Gradle and Maven both didn't work for me either, tried multiple times.
I started now on a clean Windows 7, installed all the latest java and eclipse, added gradle to eclipse, created new project and added
mavenLocal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
to repositories and the 2 lines
compile group: 'edu.cmu.sphinx', name: 'sphinx4-core', version:'5prealpha-SNAPSHOT'
compile group: 'edu.cmu.sphinx', name: 'sphinx4-data', version:'5prealpha-SNAPSHOT'
to dependencies.
I get now on the import edu.cmu.sphinx.api.Configuration:
Multiple markers at this line
-the import edu cannot be resolved
-Occurence of 'edu'
I got it to work with Maven!
Gradle didn't do it after many different tries, but Maven works.
Hey I have exactly the same problem, but I'm already using Maven and it still wont work, can someone suggest me sth that may help me?
Thanks a lot in advance.