操作系统 
首页 > 操作系统 > 浏览文章

linux ultrasphinx Anonymous modules have no name to be referenced by

(编辑:jimmy 日期: 2025/3/7 浏览:3 次 )
今天在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 操作技巧收集_
下一篇:linux下svn命令大全
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 站点导航 SiteMap