summaryrefslogtreecommitdiff
path: root/mteval/ns.h
diff options
context:
space:
mode:
authoraustinma <austinma@cs.cmu.edu>2016-01-14 21:22:56 -0500
committeraustinma <austinma@cs.cmu.edu>2016-01-14 21:22:56 -0500
commitc643ef361eea7ce43b4fc7a6e2461a01b3d0c3c6 (patch)
treea90a3dbd3e8b6887f8cbf4e5a27994de6eee5d35 /mteval/ns.h
parent899032c9728c7a1c9c97f624ba0cc49b0814277b (diff)
Added character-level BLEU metric
Diffstat (limited to 'mteval/ns.h')
-rw-r--r--mteval/ns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mteval/ns.h b/mteval/ns.h
index f6329b65..16edfdf0 100644
--- a/mteval/ns.h
+++ b/mteval/ns.h
@@ -8,6 +8,9 @@
#include "wordid.h"
#include <iostream>
+std::vector<WordID> Characterize(const std::vector<WordID>& reference);
+std::vector<std::vector<WordID> > Characterize(const std::vector<std::vector<WordID> >& references);
+
class SufficientStats {
public:
SufficientStats() : id_() {}