diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-06-22 01:48:56 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-06-22 01:48:56 +0400 |
commit | 2cdc39f63faf1600de8bdc5424ac688af7fd0234 (patch) | |
tree | fed39437c514fb595fa167fdf0cbdca9370fc935 /scripts/generic | |
parent | 4b5c8aaf107b18962c14eb1fc9fb6be6bd12d331 (diff) |
parallelize extract using perl fork.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4025 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'scripts/generic')
-rwxr-xr-x | scripts/generic/extract-parallel.perl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/generic/extract-parallel.perl b/scripts/generic/extract-parallel.perl index 866ccf1f0..bd598c13e 100755 --- a/scripts/generic/extract-parallel.perl +++ b/scripts/generic/extract-parallel.perl @@ -1,7 +1,8 @@ #! /usr/bin/perl # example -# ../extract-parallel.perl ../extract-rules target.txt source.txt align.txt extracted "" 4 gsplit "gsort --batch-size=253" +# ../extract-parallel.perl ../extract-rules target.txt source.txt align.txt extract.hiero "" 4 gsplit "gsort --batch-size=253" +# ../extract-parallel.perl ../extract target.txt source.txt align.txt extract.pb " 7 " 4 gsplit "gsort --batch-size=253" use strict; use File::Basename; |