mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-20 15:48:05 +03:00
fixed compatibility of the --final-alignment-model 2 switch and mgiza (ibm2 is done in a single thread, hence no *.part* files)
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@2859 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
4ac95fb82a
commit
05e21dc5e2
@ -791,7 +791,7 @@ sub run_single_giza {
|
||||
return if $___ONLY_PRINT_GIZA;
|
||||
safesystem("$GIZA $GizaOptions");
|
||||
|
||||
if (defined $_MGIZA){
|
||||
if (defined $_MGIZA and (!defined $___FINAL_ALIGNMENT_MODEL or $___FINAL_ALIGNMENT_MODEL ne '2')){
|
||||
print STDERR "Merging $___GIZA_EXTENSION.part\* tables\n";
|
||||
safesystem("$MGIZA_MERGE_ALIGN $dir/$f-$e.$___GIZA_EXTENSION.part*>$dir/$f-$e.$___GIZA_EXTENSION");
|
||||
#system("rm -f $dir/$f-$e/*.part*");
|
||||
|
Loading…
Reference in New Issue
Block a user