Simon - 2006-08-30

Hello,

Within the scope of an universitary project, I'm trying to build a system, that is able to recognize some keywords in a telephone call. As a first step, i'm now trying to do this for only 10 keywords.

I've trained an acoustic model with SphinxTrain and I've built a very simple application, similar to the HelloDigits-Demo.

I've used
http://cmusphinx.sourceforge.net/sphinx4/doc/ProgrammersGuide.html
and
http://cmusphinx.sourceforge.net/sphinx4/doc/UsingSphinxTrainModels.html
as a tutorial.

I've built a JAR-file with this, my first little sphinx4-application..

But, unfortunately, I'm getting the following error:

sphinx4$ java -jar bin/ten_keywords.jar

Exception in thread "main" java.lang.NullPointerException
at edu.cmu.sphinx.model.acoustic.ten_keywords.ci_cont.ModelLoader.loadProperties(ModelLoader.java:372)
at edu.cmu.sphinx.model.acoustic.ten_keywords.ci_cont.ModelLoader.getIsBinaryDefault(ModelLoader.java:386)
at edu.cmu.sphinx.model.acoustic.ten_keywords.ci_cont.ModelLoader.newProperties(ModelLoader.java:346)
..and so on..

I've seen the other posts in this forum from people with the same stack trace like mine and I tried to fix it with the answers, that were there, but I did'nt get it running.

I think the classpath is set right .. ;)

It would be very nice if someone could give me a hint on that one... thank you in advance!

(If I should post my config-file, model.props or something, just tell me.)

Cheers,
Simon