-d is the shorthand for -weight-d if you want no distortion, do -distortion-limit 0 or -dl 0
On 6 March 2014 17:04, Viktor Pless <[email protected]> wrote: > Hi, please have a look at my command: > > echo 'Quién mató a la llamita blanca?' | > /home/ubuntu/mosesdecoder/bin/moses -f /home/ubuntu/0301/model/moses.ini -d > 0 > > and my error msg: > [blah, blah....] > weight: UnknownWordPenalty0= 1 WordPenalty0= -1 PhrasePenalty0= 0.2 > TranslationModel0= 0.2 0.2 0.2 0.2 Lexica lReordering0= 0.3 > 0.3 0.3 0.3 0.3 0.3 Distortion0= 0.3 LM0= 0.5 > weight-d: 0 > Exception: moses/Parameter.cpp:336 in bool > Moses::Parameter::LoadParam(int, char**) threw util::Exception'. Don't mix > old and new ini file format > > (Seems that "weight-d: 0" comes out of nowhere, as I specified distortion > as 'Distortion0= 0.3'. ) > > See my ini file attached. Thanks in advance. > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk/hieu
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
