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

时间:2014-08-29 12:28:37   收藏:0   阅读:294

已经解决:

错误原因在于始终没用又用已经编译安装过的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,但是你妹的谁能理解啊!到时候发个邮件...

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!