2012-11-24 3 views
1

here에 설명 된 단계에 따라 내 컴퓨터 (Windows 7 64 비트)에서 Moses (v0.91)를 성공적으로 컴파일했습니다. 그러나 나는 Cygwin에서이 명령을 실행하여 처음 실행하려고하면Moses 디코더를 실행할 때 C++ - 로케일 이름이 유효하지 않습니다.

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 

아무도 내가 잘못 알고 있나요?

답변

1

이 나를 위해 작동합니다

export LC_ALL="C" 
+0

예는 않습니다! 건배. – jpen

관련 문제