diff options
author | armatthews <armatthe@cmu.edu> | 2015-04-09 00:44:09 -0400 |
---|---|---|
committer | armatthews <armatthe@cmu.edu> | 2015-04-09 00:44:09 -0400 |
commit | 9d2a9d727380649310fd1d26b1918e88b8e284d6 (patch) | |
tree | f4d426cd00ab1565a4671c4cc293992fb78c169b /mteval/scorer.h | |
parent | d18a8f8495ad4c910660be128c0f6843593f4999 (diff) |
added WER as a possible tuning metric
Diffstat (limited to 'mteval/scorer.h')
-rw-r--r-- | mteval/scorer.h | 2 |
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); |