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 | da52ee6fa4af02b811b8b558ec8437384d2ba5bd (patch) | |
tree | 8612003f1f13e01a5ffbdd6f35bafcdf51de0c90 | |
parent | a931d2df4bad5ecc220b62874fb63dc3b8d00ee9 (diff) |
bug fix
-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"; |