今天在Linux上安装好ultrasphinx后, 打算跑一下rake ultrasphinx:configure生成配置文件. 结果运行期间出现提示 Anonymous modules have no name to be referenced by 根据rake --trace 提示,找到了出错的地方,修改了一下,便可以运行了 I was able to fix the problem by changing the last call in the load_constants method from # Build the field-to-type mappings. Fields.instance.configure(MODEL_CONFIGURATION) to # Build the field-to-type mappings. Ultrasphinx::Fields.instance.configure(MODEL_CONFIGURATION)
推荐整理分享linux ultrasphinx Anonymous modules have no name to be referenced by ,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!
Linux oracle 9i图文安装方法一 版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出处、作者信息和本声明。否则将追究法律责任。
Linux oracle 9i图文安装教程二 前期工作:接上期的Linux下oracle9i图文安装一(
Linux oracle 9i图文安装教程三 版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出处、作者信息和本声明。否则将追究法律责任。前期工作:前面已经讲到