linux ultrasphinx Anonymous modules have no name to be refer

页面导航:首页 > 操作系统 > RedHat/Centos > linux ultrasphinx Anonymous modules have no name to be refer

linux ultrasphinx Anonymous modules have no name to be refer

来源: 作者: 时间:2015-12-17 16:36 【

今天在Linux上安装好ultrasphinx后, 打算跑一下rake ultrasphinx:configure生成配置文件. 结果运行期间出现提示 Anonymous modules have no name to be referenced by 根据rake --trace 提示,找到了出错的地方,修改了
今天在Linux上安装好ultrasphinx后, 打算跑一下rake ultrasphinx:configure生成配置文件. 结果运行期间出现提示 Anonymous modules have no name to be referenced by 根据rake --trace 提示,找到了出错的地方,修改了一下,便可以运行了 I was able to fix the problem by
今天在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)
Tags:

文章评论

最 近 更 新
热 点 排 行
Js与CSS工具
代码转换工具

<