summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--training/mira/kbest_mira.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/mira/kbest_mira.cc b/training/mira/kbest_mira.cc
index bcb261c9..d59b4224 100644
--- a/training/mira/kbest_mira.cc
+++ b/training/mira/kbest_mira.cc
@@ -201,7 +201,7 @@ int main(int argc, char** argv) {
vector<string> corpus;
ReadTrainingCorpus(conf["source"].as<string>(), &corpus);
- string metric_name = UppercaseString(conf["evaluation_metric"].as<string>());
+ string metric_name = UppercaseString(conf["mt_metric"].as<string>());
if (metric_name == "COMBI") {
cerr << "WARNING: 'combi' metric is no longer supported, switching to 'COMB:TER=-0.5;IBM_BLEU=0.5'\n";
metric_name = "COMB:TER=-0.5;IBM_BLEU=0.5";