summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJeff Flanigan <jeffflanigan@gmail.com>2013-02-21 19:51:06 -0500
committerJeff Flanigan <jeffflanigan@gmail.com>2013-02-21 19:51:06 -0500
commit81e8a7b851e064df1de6330a52966d8aeb13be25 (patch)
tree90cdd94720cba36e64f215fc930b7905e3b3b0f1 /python
parentc17d9c23d023a5c08656376944f636180f0a437b (diff)
Add QCRI_BLEU
Diffstat (limited to 'python')
-rw-r--r--python/pkg/cdec/score.py2
-rw-r--r--python/src/mteval.pxi2
2 files changed, 3 insertions, 1 deletions
diff --git a/python/pkg/cdec/score.py b/python/pkg/cdec/score.py
index 22257774..829dfdfd 100644
--- a/python/pkg/cdec/score.py
+++ b/python/pkg/cdec/score.py
@@ -1 +1 @@
-from _cdec import BLEU, TER, CER, Metric
+from _cdec import BLEU, TER, CER, SSK, QCRI, Metric
diff --git a/python/src/mteval.pxi b/python/src/mteval.pxi
index f3bec393..436a1e01 100644
--- a/python/src/mteval.pxi
+++ b/python/src/mteval.pxi
@@ -192,5 +192,7 @@ cdef class Metric:
return []
BLEU = Scorer('IBM_BLEU')
+QCRI = Scorer('QCRI_BLEU')
TER = Scorer('TER')
CER = Scorer('CER')
+SSK = Scorer('SSK')