mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
fixed bug - missing loop to copy one file to another
Conflicts: scripts/training/zmert-moses.pl git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3096 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
b276bacb72
commit
cd64a02344
@ -647,6 +647,13 @@ die "Error: Sent $line_count sentences to analyze but got only $line_count_check
|
||||
|
||||
FILE_EOF
|
||||
|
||||
} elsif ($___EXTRACT_SEMPOS eq "none") {
|
||||
print DECODER_CMD <<'FILE_EOF';
|
||||
while( my $line = <NBEST_ORIG>) {
|
||||
print NBEST $line;
|
||||
}
|
||||
FILE_EOF
|
||||
|
||||
} else {
|
||||
die "Unknown type of factor extraction: $___EXTRACT_SEMPOS";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user