Problème exécution Sphinx 4
Bonjour,
J'essaye d'utiliser CMU Sphinx 4, une bibliothéque de reconnaissance vocale.
J'utilise l'IDE Eclipse et je l'ai paramétré comme indiqué dans ce tuto :
http://diuf.unifr.ch/courses/05-06/m...nx/Rapport.pdf
Par contre lors de la compilation j'ai toujours cette exception :
Code:
1 2 3 4 5
|
Exception in thread "main" java.lang.NullPointerException
at edu.cmu.sphinx.util.props.SaxLoader.load(SaxLoader.java:74)
at edu.cmu.sphinx.util.props.ConfigurationManager.<init>(ConfigurationManager.java:58)
at HelloWorld.main(HelloWorld.java:20) |
Voici un extrait du helloworld.java (de la ligne 20) :
Code:
1 2 3 4 5 6
|
if (args.length > 0) {
cm = new ConfigurationManager(args[0]);
} else {
cm = new ConfigurationManager(HelloWorld.class.getResource("helloworld.config.xml"));
} |
Auriez-vous une petite idée d'où cela peut venir ?
Merci d'avance !!