mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-13 00:59:02 +03:00
bug when adding reordering model to ini file /jian zhang
This commit is contained in:
parent
fc61084743
commit
1c6061e781
@ -2007,8 +2007,9 @@ sub create_ini {
|
||||
$weight_spec .= "LexicalReordering$i=";
|
||||
for(my $j=0;$j<$model->{"numfeatures"};$j++) { $weight_spec .= " 0.3"; }
|
||||
$weight_spec .= "\n";
|
||||
}
|
||||
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user