Hi Aleksandre, you cannot have a reordering model when you use the hierarchical model.
Remove "-reordering msd-bidirectional-fe" from the invocation. -phi On Sat, Jul 16, 2011 at 11:49 PM, Alexandre Helle <[email protected] > wrote: > Hi, > > I'm switching from phrase-based models to tree-based models. When I launch > the script train-model.perl I get the next error: > > $ $SCRIPTS_ROOTDIR/training/train-model.perl -scripts-root-dir > $SCRIPTS_ROOTDIR -root-dir $f-$e -corpus data/low/train.cln -f $f -e $e > -alignment grow-diag-final-and -reordering msd-bidirectional-fe -lm > 0:5:$WD/lm/train.$e.arpa:0 --hierarchical --glue-grammar > --extract-options="--MinHoleSource 1" > > (7) learn reordering model @ Sat Jul 16 22:57:22 CEST 2011 > (7.1) [no factors] learn reordering model @ Sat Jul 16 22:57:22 CEST 2011 > Executing: LC_ALL=C sort -T it-en/model it-en/model/extract.o > > it-en/model/extract.o.sorted > sort: open failed: it-en/model/extract.o: No such file or directory > Exit code: 2 > ERROR at > /home/alex/moses-decoder-retocado/moses-scripts/scripts-20110428-1928/training/train-model.perl > line 1495. > > Anyone knows why I'm getting this error? > > -- > Thanks, > Alexandre Helle > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
