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
commit16d08eefddbecfefced16a0dd5a13d4c64c139b0 (patch)
tree689142d884441edd0d1dee57973dcc1f28c07549 /mteval/ns_ter.h
parentf63027cecd0649b4d30e3f288e1311f9f27f1b5b (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,