diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-02-03 18:03:49 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-02-03 18:03:49 -0500 |
commit | 3a2fc36378337147a956e439db31baf91bfb95c8 (patch) | |
tree | e096fa0d0628fe3d09bb8dc0dcc0d15f617eb32d /mteval | |
parent | dbf367e0fc9d3faf906340d1f51f2dbda1892081 (diff) |
escaping tool for grammar extractor
Diffstat (limited to 'mteval')
-rw-r--r-- | mteval/ns_ter.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mteval/ns_ter.cc b/mteval/ns_ter.cc index 91a17f0d..0e1008db 100644 --- a/mteval/ns_ter.cc +++ b/mteval/ns_ter.cc @@ -22,6 +22,10 @@ static const unsigned kDUMMY_LAST_ENTRY = 5; using namespace std; using namespace std::tr1; +bool TERMetric::IsErrorMetric() const { + return true; +} + namespace NewScorer { struct COSTS { |