[英]Sphinx classes not found despite library being in classpath?
I downloaded sphinx4-1.0beta6-bin.zip and installed it on my 64-bit Ubuntu 12.04 LTS. 我下载了sphinx4-1.0beta6-bin.zip并将其安装在我的64位Ubuntu 12.04 LTS上。 I was able to run the HelloWorld
example. 我能够运行HelloWorld
示例。 However, when I create my own class and create a Configuration
object as shown here: 但是,当我创建自己的类并创建Configuration
对象时,如下所示:
Configuration configuration = new Configuration();
It gets flagged as an error. 它被标记为错误。 Eclipse cannot find the class at all even though I have appropriate jars in the library and library is in the build path. 即使我在库中有适当的jar且库在构建路径中, Eclipse也根本找不到该类。
Here are the jars in the library: 这是库中的罐子:
js.jar
jsapi.jar
sphinx4.jar
tags.jar
Then, why am I getting this error ? 那我为什么会收到这个错误?
This class doesn't exist in released version, to use it you need to checkout an experimental hl-interface branch with subversion: 此类在发行版本中不存在,要使用它,您需要使用subversion签出实验性的hl-interface分支:
http://sourceforge.net/p/cmusphinx/code/HEAD/tree/branches/hl-interface/ http://sourceforge.net/p/cmusphinx/code/HEAD/tree/branches/hl-interface/
To learn more about subversion see 要了解有关Subversion的更多信息,请参见
http://www.ibm.com/developerworks/library/os-ecl-subversion/ http://www.ibm.com/developerworks/library/os-ecl-subversion/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.