diff options
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); |