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