I am trying to modify the Transcriber demo to use the Hub4 acoustic model and I can seem to get the program to find the dictionary . Im using Eclipse so ive placed the hub4 JAR file in the lib directory, and added it to the Eclipse classpath as with the other JARS used by the program. Ive edited the config.xml file to use the new data, but it still doesnt find the dictionary.
It returns the following error
Problem configuring Transcriber: Property Exception component:'dictionary' property:'dictionaryPath' - Can't locate resource:/edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133hz_6855Hz
Property Exception component:'dictionary' property:'dictionaryPath' - Can't locate resource:/edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133hz_6855Hz
Maybe ive understood something wrong, but Im just wondering where exactly do i have to add the JAR file to the classpath? In the case of the demos, is it the build.xml for the Sphinx project itself, or should I enter it in the demo.xml file? Ive tried many things, including unzipping the JAR file and trying to compile it as a Sphinx3 model. Im out of ideas. Any suggestions, perhaps a sample config.xml file?
many thanks
Ger
part of my config.xml file for the Transcriber demo
I am trying to modify the Transcriber demo to use the Hub4 acoustic model and I can seem to get the program to find the dictionary . Im using Eclipse so ive placed the hub4 JAR file in the lib directory, and added it to the Eclipse classpath as with the other JARS used by the program. Ive edited the config.xml file to use the new data, but it still doesnt find the dictionary.
It returns the following error
Problem configuring Transcriber: Property Exception component:'dictionary' property:'dictionaryPath' - Can't locate resource:/edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133hz_6855Hz
Property Exception component:'dictionary' property:'dictionaryPath' - Can't locate resource:/edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133hz_6855Hz
Maybe ive understood something wrong, but Im just wondering where exactly do i have to add the JAR file to the classpath? In the case of the demos, is it the build.xml for the Sphinx project itself, or should I enter it in the demo.xml file? Ive tried many things, including unzipping the JAR file and trying to compile it as a Sphinx3 model. Im out of ideas. Any suggestions, perhaps a sample config.xml file?
many thanks
Ger
part of my config.xml file for the Transcriber demo
<component name="hub4" type="edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.Model">
<property name="loader" value="sphinx3Loader" />
<property name="unitManager" value="unitManager" />
</component>