mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-19 23:27:46 +03:00
first cimmit to github: enable parallel data preparation in ems
This commit is contained in:
parent
58265be9ca
commit
d6035a0612
@ -1888,6 +1888,7 @@ sub get_training_setting {
|
||||
my $source_syntax = &get("GENERAL:input-parser");
|
||||
my $target_syntax = &get("GENERAL:output-parser");
|
||||
my $score_settings = &get("TRAINING:score-settings");
|
||||
my $parallel = &get("TRAINING:parallel");
|
||||
|
||||
my $xml = $source_syntax || $target_syntax;
|
||||
|
||||
@ -1909,6 +1910,7 @@ sub get_training_setting {
|
||||
$cmd .= "-source-syntax " if $source_syntax;
|
||||
$cmd .= "-glue-grammar " if $hierarchical;
|
||||
$cmd .= "-score-options '".$score_settings."' " if $score_settings;
|
||||
$cmd .= "-parallel " if $parallel;
|
||||
|
||||
# factored training
|
||||
if (&backoff_and_get("TRAINING:input-factors")) {
|
||||
|
Loading…
Reference in New Issue
Block a user