summaryrefslogtreecommitdiff
path: root/mira
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-29 17:19:18 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-29 17:19:18 +0200
commit1c0b252dfa0169eef0a4bdb7442d433b2bf8c1c7 (patch)
treeead6df22bd9dccb6566341e12af6ec4c46b27631 /mira
parent70585a59a738d0148ed2da90252050f4d86f4a22 (diff)
reverted changes in upstream
Diffstat (limited to 'mira')
-rw-r--r--mira/kbest_mira.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mira/kbest_mira.cc b/mira/kbest_mira.cc
index 60c9ac2b..9d83c94a 100644
--- a/mira/kbest_mira.cc
+++ b/mira/kbest_mira.cc
@@ -52,7 +52,7 @@ bool InitCommandLine(int argc, char** argv, po::variables_map* conf) {
("reference,r",po::value<vector<string> >(), "[REQD] Reference translation(s) (tokenized text file)")
("mt_metric,m",po::value<string>()->default_value("ibm_bleu"), "Scoring metric (ibm_bleu, nist_bleu, koehn_bleu, ter, combi)")
("max_step_size,C", po::value<double>()->default_value(0.01), "regularization strength (C)")
- //("mt_metric_scale,s", po::value<double>()->default_value(1.0), "Amount to scale MT loss function by")
+ ("mt_metric_scale,s", po::value<double>()->default_value(1.0), "Amount to scale MT loss function by")
("k_best_size,k", po::value<int>()->default_value(250), "Size of hypothesis list to search for oracles")
("sample_forest,f", "Instead of a k-best list, sample k hypotheses from the decoder's forest")
("sample_forest_unit_weight_vector,x", "Before sampling (must use -f option), rescale the weight vector used so it has unit length; this may improve the quality of the samples")