diff options
Diffstat (limited to 'training/dtrain/score.h')
-rw-r--r-- | training/dtrain/score.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/training/dtrain/score.h b/training/dtrain/score.h index b0b73e94..06dbc5a4 100644 --- a/training/dtrain/score.h +++ b/training/dtrain/score.h @@ -189,8 +189,7 @@ struct PerSentenceBleuScorer / ((counts.sum_[i] + add))); } - //return BrevityPenalty(hl, rl+1) * exp(sum); - return BrevityPenalty(hl, rl) * exp(sum); + return BrevityPenalty(hl, rl+1) * exp(sum); } }; |