今天在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 ultrasphinx Anonymous modules have no name to be referenced by》,本文关键词 ;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。