如何使用记事本设置sphinx4
任何人都可以帮我如何使用记事本设置 sphinx4 吗?几天后,我尝试运行 HelloWorld 示例,但它不起作用。我已在 ../jre/lib/ext 文件夹中设置了所有库,但我仍然收到以下错误。
*线程“main”java.lang.NoClassDefFoundError 中的异常:edu/cmu/sphinx/效用/p rops/ConfigurationManager
at HelloWorld.main(HelloWorld.java:33)
引起:java.lang.ClassNotFoundException:edu.cmu.sphinx.util.props.Configura tionManager
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 1 more*
HelloWorld.java:33 是以下行:
cm = new ConfigurationManager(HelloWorld.class.getResource("helloworld.config.xml"));
有人可以帮我吗?
can any one please help me how to setup sphinx4 with notepad. It's being few days now that I m trying to run the HelloWorld example and it doesn't work. I have set all the libs in ../jre/lib/ext folder but I still get the following error.
*Exception in thread "main" java.lang.NoClassDefFoundError: edu/cmu/sphinx/util/p
rops/ConfigurationManager
at HelloWorld.main(HelloWorld.java:33)
Caused by: java.lang.ClassNotFoundException: edu.cmu.sphinx.util.props.Configura
tionManager
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 1 more*
HelloWorld.java:33 is the following line :
cm = new ConfigurationManager(HelloWorld.class.getResource("helloworld.config.xml"));
Can anyone give me a hand, please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
https:/ /www.assembla.com/code/sonido/subversion/nodes/sphinx4/src/apps/edu/cmu/sphinx/demo?rev=3
并检查所有库(jar)是否已连接。
https://www.assembla.com/code/sonido/subversion/nodes/sphinx4/src/apps/edu/cmu/sphinx/demo?rev=3
And check if all libraries (jars) are connected.