mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
add nnjm-settings to access options in train_nplm.py
This commit is contained in:
parent
114ed0133e
commit
1286791ba1
@ -1800,6 +1800,10 @@ sub define_lm_train_bilingual_lm {
|
||||
my $epochs = &get_bilingual_lm_epochs($set);
|
||||
$cmd .= " -e $epochs" if defined($epochs);
|
||||
|
||||
my $nnjm_settings = backoff_and_get("LM:$set:nnjm-settings");
|
||||
$cmd .= " ";
|
||||
$cmd .= $nnjm_settings;
|
||||
|
||||
my $nplm_settings = backoff_and_get("LM:$set:nplm-settings");
|
||||
$cmd .= " --extra-settings \"$nplm_settings\"" if defined($nplm_settings);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user