summaryrefslogtreecommitdiff
path: root/mteval/scorer.h
diff options
context:
space:
mode:
authorarmatthews <armatthe@cmu.edu>2015-04-09 00:44:09 -0400
committerarmatthews <armatthe@cmu.edu>2015-04-09 00:44:09 -0400
commit9d2a9d727380649310fd1d26b1918e88b8e284d6 (patch)
treef4d426cd00ab1565a4671c4cc293992fb78c169b /mteval/scorer.h
parentd18a8f8495ad4c910660be128c0f6843593f4999 (diff)
added WER as a possible tuning metric
Diffstat (limited to 'mteval/scorer.h')
-rw-r--r--mteval/scorer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mteval/scorer.h b/mteval/scorer.h
index 8d986612..a411f14b 100644
--- a/mteval/scorer.h
+++ b/mteval/scorer.h
@@ -17,7 +17,7 @@ class ErrorSurface;
class Hypergraph; // needed for alignment
//TODO: BLEU N (N separate arg, not part of enum)?
-enum ScoreType { IBM_BLEU, NIST_BLEU, Koehn_BLEU, TER, BLEU_minus_TER_over_2, SER, AER, IBM_BLEU_3, METEOR };
+enum ScoreType { IBM_BLEU, NIST_BLEU, Koehn_BLEU, TER, BLEU_minus_TER_over_2, SER, AER, IBM_BLEU_3, METEOR, WER };
ScoreType ScoreTypeFromString(const std::string& st);
std::string StringFromScoreType(ScoreType st);