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
commit9619c91e3eea2e5eb13d42e02d39730189ebc577 (patch)
tree709f3dbae6c4033564fdb67f48bf1e0fe7f16eac /python/cdec
parentb73722556f2bbc51736b716c613430250abef907 (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