Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2013-02-14 15:19:40 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-02-14 15:19:40 +0400
commit825edd282b0e8a8baab7d0822da4e861e16488df (patch)
tree42763dbfd08123f6c3b03c1ea21c7bce8b290760 /scripts/ems
parent6292f82837e9f87c0136d928fa6e896e68729bfe (diff)
use new create-ini program to create ini file, rather than step 9 of train-model.perl
Diffstat (limited to 'scripts/ems')
-rwxr-xr-xscripts/ems/experiment.perl6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/ems/experiment.perl b/scripts/ems/experiment.perl
index ff619b0a3..b5149b7d1 100755
--- a/scripts/ems/experiment.perl
+++ b/scripts/ems/experiment.perl
@@ -2082,9 +2082,11 @@ sub define_training_create_config {
my ($config,$reordering_table,$phrase_translation_table,$generation_table,$sparse_lexical_features,$domains,@LM)
= &get_output_and_input($step_id);
- my $cmd = &get_training_setting(9);
+ #my $cmd = &get_training_setting(9);
+ my $moses_src_dir = &check_and_get("GENERAL:moses-src-dir");
+ my $cmd = "$moses_src_dir/bin/create-ini ";
- # get model, and whether suffix array is used. Determines the pt implementation.
+ # get model, and whether suffix array is used. Determines the pt implementation.
my $hierarchical = &get("TRAINING:hierarchical-rule-set");
my $sa_exec_dir = &get("TRAINING:suffix-array");