mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 14:05:29 +03:00
bug fix for using domain feature in multi-process extract
This commit is contained in:
parent
4749e1b990
commit
a84fbcb80a
@ -91,7 +91,7 @@ for (my $i = 0; $i < $numParallel; ++$i)
|
||||
if ($pid == 0)
|
||||
{ # child
|
||||
my $numStr = NumStr($i);
|
||||
my $cmd = "$extractCmd $TMPDIR/target.$numStr $TMPDIR/source.$numStr $TMPDIR/align.$numStr $TMPDIR/extract.$numStr $otherExtractArgs 2>> /dev/stderr \n";
|
||||
my $cmd = "$extractCmd $TMPDIR/target.$numStr $TMPDIR/source.$numStr $TMPDIR/align.$numStr $TMPDIR/extract.$numStr $otherExtractArgs --SentenceOffset ".($i*$linesPerSplit)." 2>> /dev/stderr \n";
|
||||
print STDERR $cmd;
|
||||
`$cmd`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user