linux ultrasphinx Anonymous modules have no name to be referenced by

发布时间:2022-05-02 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了linux ultrasphinx Anonymous modules have no name to be referenced 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)

脚本宝典总结

以上是脚本宝典为你收集整理的linux ultrasphinx Anonymous modules have no name to be referenced by 全部内容,希望文章能够帮你解决linux ultrasphinx Anonymous modules have no name to be referenced by 所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签:linux