From 9d2a9d727380649310fd1d26b1918e88b8e284d6 Mon Sep 17 00:00:00 2001 From: armatthews Date: Thu, 9 Apr 2015 00:44:09 -0400 Subject: added WER as a possible tuning metric --- mteval/scorer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mteval/scorer.h') 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); -- cgit v1.2.3