diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-23 21:48:02 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-23 21:48:02 +0000 |
commit | c833eef2397fd4d10fc7c4f901bc8851c76b217c (patch) | |
tree | 1cb026afc5086d1f5ee0d29e7adcb0322337ce26 /decoder | |
parent | f8915e0bd1627167b72ca350b82ad31f8cb1fdeb (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-x | decoder/oracle_bleu.h | 2 |
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); |