GwenNelson / moses

Automatically exported from code.google.com/p/moses
Apache License 2.0
0 stars 0 forks source link

locale name not valid exception when running Moses decoder #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've successfully compiled Moses (v0.91) on my machine (Windows 7 64-bit) by 
following the steps described here 
(http://www.statmt.org/moses/?n=Development.GetStarted). However when I try to 
run it for the first time by running this command in cygwin:

cd ~/mosesdecoder/sample-models
~/mosesdecoder/bin/moses -f phrase-model/moses.ini < phrase-model/in > out
the following exception occurs:

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

Does anybody know what I'm doing wrong?

Original issue reported on code.google.com by tashim...@gmail.com on 25 Nov 2012 at 11:19

GoogleCodeExporter commented 9 years ago
Hi there, I meet same issue as yours.
Have you resolved this issue?

Original comment by felixz2010 on 21 Feb 2015 at 4:24