bug fix for using domain feature in multi-process extract

This commit is contained in:
phikoehn 2012-09-24 11:14:36 +01:00
parent 4749e1b990
commit a84fbcb80a

View File

@ -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`;