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

Unix/Linux
以假乱真 Linux中实现Vista界面主题
gnome与KDE字体大小不同的解决
Slackware 10 系统的汉化、美化
linux 常见音乐、视频播放器简介
Linux系统下用DCOP连接KDE应用程序
使用xmanager访问linux图形界面
Linux操作系统下制作特效照片也精彩
用新型D-BUS与Linux桌面应用程序通讯
使用Portland改善Linux桌面移植性
Linux操作系统下安装QQ最简单的方法
linux下浏览CHM及其它文件格式电子书
Linux下gnome桌面转换为KDE桌面的方法
Linux系统使用Windows XP字体美化汉字
Linux操作系统窗口系统精彩问与答
英文界面中文输入法与汉字的正常显示
在Fedora中编译安装Mplayer的详细步骤
Linux上五十个最佳的FireFox扩展插件
迁移到Linux桌面的六个忠告
Linux下登录windown系统远程桌面
Ubuntu Linux下播放Real多媒体的方法

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


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