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 | f08ff03664ee7c9601c9daaa217cb032160f386f (patch) | |
tree | 5e93393df8bddb128a778f29ea86a0ea81ce7ebf /mteval | |
parent | 16d08eefddbecfefced16a0dd5a13d4c64c139b0 (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 { |