summaryrefslogtreecommitdiff
path: root/decoder/oracle_bleu.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2010-12-10 13:00:04 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2010-12-10 13:00:04 -0500
commit658263d53805482d2bc2dc186476626a01cb4e93 (patch)
tree1e0be0de4deea445e0670c51564313c11f705b52 /decoder/oracle_bleu.h
parent3a4f9a526c58cbc1fe69fe5b3aeefd9639f9c49b (diff)
extract kbest alignments
Diffstat (limited to 'decoder/oracle_bleu.h')
-rwxr-xr-xdecoder/oracle_bleu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/oracle_bleu.h b/decoder/oracle_bleu.h
index d75f50fc..15d48588 100755
--- a/decoder/oracle_bleu.h
+++ b/decoder/oracle_bleu.h
@@ -286,7 +286,7 @@ struct OracleBleu {
std::cerr << "Output kbest to " << kbest_out_filename_<<std::endl;
if (!unique)
- kbest<KBest::NoFilter>(sent_id,forest,k,ko.get(),std::cerr);
+ kbest<KBest::NoFilter<std::vector<WordID> > >(sent_id,forest,k,ko.get(),std::cerr);
else {
kbest<KBest::FilterUnique>(sent_id,forest,k,ko.get(),std::cerr);
}