diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2016-09-27 15:21:18 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2016-09-27 15:21:18 +0300 |
commit | a29f7d5c9949b77fcbb9f93d3e31a1369155abeb (patch) | |
tree | e008341d415f21d2592825b81fa1a4b9220aadb3 | |
parent | 92f5f868cbfd78eb5aa55a96a45c1281126c4390 (diff) |
can define srilm-dir in general section
-rwxr-xr-x | scripts/ems/experiment.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ems/experiment.perl b/scripts/ems/experiment.perl index e52c82319..23e771e8b 100755 --- a/scripts/ems/experiment.perl +++ b/scripts/ems/experiment.perl @@ -2315,7 +2315,7 @@ sub define_training_build_transliteration_model { my $sym_method = &check_and_get("TRAINING:alignment-symmetrization-method"); my $moses_src_dir = &check_and_get("GENERAL:moses-src-dir"); my $external_bin_dir = &check_and_get("GENERAL:external-bin-dir"); - my $srilm_dir = &check_and_get("TRAINING:srilm-dir"); + my $srilm_dir = &check_backoff_and_get("TRAINING:srilm-dir"); my $decoder = &get("TRAINING:transliteration-decoder"); my $cmd = "$moses_script_dir/Transliteration/train-transliteration-module.pl"; |