mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
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:
parent
1b9d99a5ad
commit
6a27dc4f17
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user