码迷,mamicode.com
首页 > 其他好文 > 详细

Moses与IRSTLM共同编译失败的解决方案:fatal error: dictionary.h no such file or 目录

时间:2014-08-29 12:28:37      阅读:462      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   os   io   ar   文件   div   cti   

已经解决:

错误原因在于始终没用又用已经编译安装过的irstlm而是一直用那个原文件夹造成的,而这里Manual似乎也写错了,manual里有很强的误导性:

bubuko.com,布布扣

但是仔细看,manual里还写到:

However, if you want to use IRSTLM to read the language model and assign scores to n-grams, then IRSTLM needs to be linked with Moses.

Once IRSTLM is successfully compiled, use the --with-irstlm switch to compile Moses with IRSTLM. This is the exact command I use: 

似乎作者在暗示你要选择编译过的IRSTLM,但是你妹的谁能理解啊!到时候发个邮件...

Moses与IRSTLM共同编译失败的解决方案:fatal error: dictionary.h no such file or 目录

标签:style   blog   color   os   io   ar   文件   div   cti   

原文地址:http://www.cnblogs.com/hitnoah/p/3944436.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!