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

Unix/Linux
Linux 指令篇:系统设置--setup
Linux 指令篇:系统设置--sndconfig
Linux 指令篇:系统设置--SVGAText Mode
Linux 指令篇:系统设置--timeconfig
Linux 指令篇:系统设置--ulimit
Linux 指令篇:系统设置--unalias
Linux 指令篇:系统设置--unset
为 Linux 安装触摸屏
无线网卡在Linux下活起来
Linux下安装摄像头驱动程序的三种方法
Linux系统下设备驱动的安全端口分配
用于 Linux 的开放 BIOS开源项目介绍
为系统处理器编写Linux设备驱动程序
Linux设备驱动框架、配置文件及加载
深入浅出Linux设备驱动编程之内核模块
详解Linux操作系统设备驱动兼容性
Linux设备驱动编程之阻塞与非阻塞
深入浅出Linux设备驱动之并发控制
Linux 的魅力: TiVo 揭密
Linux 助力 Nokia 770

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 156 ::
收藏到网摘: 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)