summaryrefslogtreecommitdiff
path: root/python/cdec
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-23 19:59:44 -0400
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-23 19:59:44 -0400
commiteeef93717fed2901f6fcd2e3fd11118e0e309af7 (patch)
treeb430beb08700419ead3dc63ceb45f24edb2d38ec /python/cdec
parent06f90d83a1feafad301d365a4a437e44f68be45b (diff)
[python] Evaluation metrics in Python
Diffstat (limited to 'python/cdec')
-rw-r--r--python/cdec/__init__.py2
-rw-r--r--python/cdec/score.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/cdec/__init__.py b/python/cdec/__init__.py
index 89c323ba..19058493 100644
--- a/python/cdec/__init__.py
+++ b/python/cdec/__init__.py
@@ -1 +1 @@
-from _cdec import Decoder, Lattice, TRule, NT, NTRef
+from _cdec import Decoder, Lattice, TRule, NT, NTRef, ParseFailed, InvalidConfig
diff --git a/python/cdec/score.py b/python/cdec/score.py
index c107446f..d9486ef2 100644
--- a/python/cdec/score.py
+++ b/python/cdec/score.py
@@ -1 +1 @@
-from _cdec import BLEU, TER
+from _cdec import BLEU, TER, Metric