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 | bb0cb13be765f4ba5abf357e596e35a749637f33 (patch) | |
tree | c319caa72463957c08289faf46dd72d0e21e305f | |
parent | 3a802d691a34fe4a75af110fc8c4a771f18b7641 (diff) |
fix unique flag
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@657 ec762483-ff6d-05da-a07a-a48fb63a330f
-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); |