diff options
author | Jeff Flanigan <jeffflanigan@gmail.com> | 2013-02-21 19:51:06 -0500 |
---|---|---|
committer | Jeff Flanigan <jeffflanigan@gmail.com> | 2013-02-21 19:51:06 -0500 |
commit | 8628a6ed6e2e1179d0927c35a2b2d059b254d034 (patch) | |
tree | f914fc53510ac8c7e753f1f65877f7cb1904e967 /python | |
parent | 95c364f2cb002241c4a62bedb1c5ef6f1e9a7f22 (diff) |
Add QCRI_BLEU
Diffstat (limited to 'python')
-rw-r--r-- | python/pkg/cdec/score.py | 2 | ||||
-rw-r--r-- | python/src/mteval.pxi | 2 |
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') |