summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-23 21:48:02 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-23 21:48:02 +0000
commitbb0cb13be765f4ba5abf357e596e35a749637f33 (patch)
treec319caa72463957c08289faf46dd72d0e21e305f /decoder
parent3a802d691a34fe4a75af110fc8c4a771f18b7641 (diff)
fix unique flag
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@657 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder')
-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 b3b1fd17..d75f50fc 100755
--- a/decoder/oracle_bleu.h
+++ b/decoder/oracle_bleu.h
@@ -285,7 +285,7 @@ struct OracleBleu {
WriteFile ko(kbest_out_filename_);
std::cerr << "Output kbest to " << kbest_out_filename_<<std::endl;
- if (unique)
+ if (!unique)
kbest<KBest::NoFilter>(sent_id,forest,k,ko.get(),std::cerr);
else {
kbest<KBest::FilterUnique>(sent_id,forest,k,ko.get(),std::cerr);