summaryrefslogtreecommitdiff
path: root/mteval/ns_ter.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-02-03 17:19:16 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2012-02-03 17:19:16 -0500
commitdbf367e0fc9d3faf906340d1f51f2dbda1892081 (patch)
tree5cf113fbf5e455a8e31e08dbf6c5f91a64b87750 /mteval/ns_ter.h
parente1eae0ac941aa76528d4673dbd35f214cdac23fb (diff)
make pro use new interface
Diffstat (limited to 'mteval/ns_ter.h')
-rw-r--r--mteval/ns_ter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mteval/ns_ter.h b/mteval/ns_ter.h
index 3190fc1b..c5c25413 100644
--- a/mteval/ns_ter.h
+++ b/mteval/ns_ter.h
@@ -9,6 +9,7 @@ class TERMetric : public EvaluationMetric {
TERMetric() : EvaluationMetric("TER") {}
public:
+ virtual bool IsErrorMetric() const;
virtual unsigned SufficientStatisticsVectorSize() const;
virtual std::string DetailedScore(const SufficientStats& stats) const;
virtual void ComputeSufficientStatistics(const std::vector<WordID>& hyp,