今天在Linux上安裝好ultrasphinx后, 打算跑一下rake ultrasphinx:configure生成配置文件. 結(jié)果運行期間出現(xiàn)提示 Anonymous modules have no name to be referenced by 根據(jù)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)
巨人網(wǎng)絡(luò)通訊聲明:本文標題《linux ultrasphinx Anonymous modules have no name to be referenced by》,本文關(guān)鍵詞 linux,ultrasphinx,Anonymous,modules,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
相關(guān)文章
下面列出與本文章《linux ultrasphinx Anonymous modules have no name to be referenced by》相關(guān)的同類信息!