example of how to run

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4084 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2011-07-22 08:32:09 +00:00
parent 1b9d99a5ad
commit 6a27dc4f17
2 changed files with 9 additions and 4 deletions

View File

@ -70,6 +70,10 @@ for (my $i = 0; $i < $numParallel; ++$i)
print $cmd;
`$cmd`;
$cmd = "rm -f $TMPDIR/extract.$numStr $TMPDIR/extract.$numStr.inv $TMPDIR/extract.$numStr.o \n";
print $cmd;
`$cmd`;
exit();
}
else
@ -112,9 +116,9 @@ print $extractOrderingCmd;
`$extractInvCmd`;
`$extractOrderingCmd`;
$cmd = "rm -rf $TMPDIR \n";
print $cmd;
`$cmd`;
#$cmd = "rm -rf $TMPDIR \n";
#print $cmd;
#`$cmd`;
print "Finished ".localtime() ."\n";

View File

@ -1,7 +1,8 @@
#! /usr/bin/perl
# example
#
# ~/giza-parallel.perl 10 split ~/workspace/sourceforge/trunk/scripts/training/train-model.perl ar en train align
use strict;
use File::Basename;