当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > linux ultrasphinx Anonymous modules have no name to be referenced by

Unix/Linux
在Linux终端下进行BT下载
用软件lm_sensors监测Linux系统和CPU温度
vi编辑器图解教程
Linux系统下光,驱软开关与限速
LINUX系统下MySQL 压力测试工具super smack
Linux系统日志的介绍
LINUX终端下的网络监测工具--Speedometer
解决linux不能上传大于2M文件
Linux常见死机原因
linux系统下邮件服务器sendmail的配置
Linux系统下挂载Windows分区的方法和技巧
解决centos系统 setup时乱码问题
总结一下linux远程控制方法
进图形界面黑屏的解决办法
VMware虚拟机下 Redhat上网
rpm安装以及rpm升级命令
Linux启动出现start ls-disk module sg not found
SecureCRT中文乱码和全屏无法显示菜单的解决办法
完全免费自建Linux防火墙的方法
g++模板编译方法

Unix/Linux 中的 linux ultrasphinx Anonymous modules have no name to be referenced by


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 110 ::
收藏到网摘: n/a

今天在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)