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
commitc833eef2397fd4d10fc7c4f901bc8851c76b217c (patch)
tree1cb026afc5086d1f5ee0d29e7adcb0322337ce26 /decoder
parentf8915e0bd1627167b72ca350b82ad31f8cb1fdeb (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);