diff options
author | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-03-20 13:00:22 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-03-20 13:00:22 -0400 |
commit | 5555d37ada60ea64ce7d8f25e40827a79ef003d8 (patch) | |
tree | bae4dab8ea28ebe9e04860205c481fdd8e5df549 /training | |
parent | e9804165401b2b288b1405931af140fbb1a6f4be (diff) |
bug fix
Diffstat (limited to 'training')
-rw-r--r-- | training/mira/kbest_mira.cc | 2 |
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"; |