Hi! Those error messages are related to lexicalized reordering models, and should not be triggered in your case, since you don't use such models. Are you running on old version of Moses? I believe we have fixed a bug a while ago, that led to problems like yours. If you are, try to get the latest Moses release from SVN. Otherwise, let me know, and I can have a look.
/Sara ________________________________________ Från: [email protected] [[email protected]] för [email protected] [[email protected]] Skickat: den 28 maj 2010 05:58 Till: moses-support Ämne: [Moses-support] A question with train-factored-phrase-model.perl Hi, Following the first example in "Factored Tutorial", I enter: train-factored-phrase-model.perl \ --corpus factored-corpus/proj-syndicate.1000 \ --root-dir unfactored \ --f de \ --e en \ --lm 0:3:/cygdrive/c/usr/phrase/factored-corpus/surface.lm:0 But I get the error message back: "you have specify which languages to condition on (f or fe); it is not done in distance" I found the related source code in train-factored-phrase-model.perl: (1) elsif ($reoconf =~ /^((fe)|(f))/) { $REORDERING_MODELS[$model_num]{"lang"} = $reoconf; } (2) #check that the required attributes are given if (!defined($REORDERING_MODELS[$model_num]{"lang"})) { print STDERR "you have specify which languages to condition on (f or fe); it is not done in $r\n"; exit(1); } I think "you have specify ..." may be "you have to specify..." My question is: should I really need to add a parameter to specify which languages to condition on? Regards, Yifeng Yu _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
