summaryrefslogtreecommitdiff
path: root/python/cdec
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-01 00:38:30 -0400
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-01 00:38:30 -0400
commitdc9e428224d95adf63da6460a2031348de295ca1 (patch)
tree5f7b9022f75d67d8cc8b069b6e8164978b93ff93 /python/cdec
parent3044d6d1c6d428e8d06c255e3a2d739bcd187679 (diff)
[python] MT evaluation
Diffstat (limited to 'python/cdec')
-rw-r--r--python/cdec/__init__.py1
-rw-r--r--python/cdec/score.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/python/cdec/__init__.py b/python/cdec/__init__.py
index eda81194..0d7b8782 100644
--- a/python/cdec/__init__.py
+++ b/python/cdec/__init__.py
@@ -1 +1,2 @@
from _cdec import Decoder, Lattice
+import score
diff --git a/python/cdec/score.py b/python/cdec/score.py
new file mode 100644
index 00000000..c107446f
--- /dev/null
+++ b/python/cdec/score.py
@@ -0,0 +1 @@
+from _cdec import BLEU, TER