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 <fishandfrolick@gmail.com>2013-02-14 16:07:48 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2013-02-14 16:07:48 +0400
commitae52a15c4d98dfcb6b388c6ab66fa35513f95975 (patch)
tree5ad210f2e4c4770992a6fb8d16619195b6311ded /scripts/ems
parent825edd282b0e8a8baab7d0822da4e861e16488df (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.perl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/ems/experiment.perl b/scripts/ems/experiment.perl
index b5149b7d1..696cc56b5 100755
--- a/scripts/ems/experiment.perl
+++ b/scripts/ems/experiment.perl
@@ -2082,7 +2082,6 @@ 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 $moses_src_dir = &check_and_get("GENERAL:moses-src-dir");
my $cmd = "$moses_src_dir/bin/create-ini ";
@@ -2555,7 +2554,9 @@ sub define_tuningevaluation_filter {
else {
$config = $tuning_flag ? "$dir/tuning/moses.table.ini.$VERSION" : "$dir/evaluation/$set.moses.table.ini.$VERSION";
$delete_config = 1;
- $cmd = &get_training_setting(9);
+
+ my $moses_src_dir = &check_and_get("GENERAL:moses-src-dir");
+ $cmd = "$moses_src_dir/bin/create-ini ";
$cmd .= &define_domain_feature_score_option($domains) if &get("TRAINING:domain-features");
my $ptCmd = $phrase_translation_table;