diff options
author | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-07-23 19:59:44 -0400 |
---|---|---|
committer | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-07-23 19:59:44 -0400 |
commit | 070e7fbbacd70dd916a95c1ab08b0113ec221c30 (patch) | |
tree | f3cf94bf86fa79b592b1869072f85e529ec16a11 /python/cdec | |
parent | 9a5e10322c82916a3c3fdfa0489ed1999bc988c5 (diff) |
[python] Evaluation metrics in Python
Diffstat (limited to 'python/cdec')
-rw-r--r-- | python/cdec/__init__.py | 2 | ||||
-rw-r--r-- | python/cdec/score.py | 2 |
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 |