summaryrefslogtreecommitdiff
path: root/mteval
diff options
context:
space:
mode:
authorChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-02-16 03:40:30 -0500
committerChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-02-16 03:40:30 -0500
commit95c364f2cb002241c4a62bedb1c5ef6f1e9a7f22 (patch)
tree571134e4109a9563f2c66cb4be804cf3d32b09d2 /mteval
parentd9f77a14d4e217dc8984871802bbccc66a2c9864 (diff)
add thing
Diffstat (limited to 'mteval')
-rw-r--r--mteval/ns.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/mteval/ns.cc b/mteval/ns.cc
index 7d73061c..d8214558 100644
--- a/mteval/ns.cc
+++ b/mteval/ns.cc
@@ -3,6 +3,7 @@
#include "ns_ext.h"
#include "ns_comb.h"
#include "ns_cer.h"
+#include "ns_ssk.h"
#include <cstdio>
#include <cassert>
@@ -252,6 +253,8 @@ EvaluationMetric* EvaluationMetric::Instance(const string& imetric_id) {
m = new BleuMetric<4, NIST>;
} else if (metric_id == "KOEHN_BLEU") {
m = new BleuMetric<4, Koehn>;
+ } else if (metric_id == "SSK") {
+ m = new SSKMetric;
} else if (metric_id == "TER") {
m = new TERMetric;
} else if (metric_id == "METEOR") {