按照here中描述的步骤,我已经成功地在我的机器(Windows764位)上编译了摩西(v0.91)。但是,当我第一次尝试在cygwin中运行以下命令来运行它时:
cd ~/mosesdecoder/sample-models
~/mosesdecoder/bin/moses -f phrase-model/moses.ini < phrase-model/in > out出现以下异常:
Defined parameters (per moses.ini or switch):
config: phrase-model/moses.ini
input-factors: 0
lmodel-file: 8 0 3 lm/europarl.srilm.gz
mapping: T 0
n-best-list: nbest.txt 100
ttable-file: 0 0 0 1 phrase-model/phrase-table
ttable-limit: 10
weight-d: 1
weight-l: 1
weight-t: 1
weight-w: 0
Exception: locale::facet::_S_create_c_locale name not valid有人知道我做错了什么吗?
发布于 2012-12-03 09:18:00
这对我来说很有效:
export LC_ALL="C"https://stackoverflow.com/questions/13546074
复制相似问题