diff --git a/scripts/generic/extract-parallel.perl b/scripts/generic/extract-parallel.perl index 9b94f08e6..ac9743570 100755 --- a/scripts/generic/extract-parallel.perl +++ b/scripts/generic/extract-parallel.perl @@ -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`;