summaryrefslogtreecommitdiff
path: root/training/dtrain/ksampler.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-01-23 15:50:27 +0100
committerPatrick Simianer <p@simianer.de>2015-01-23 15:50:27 +0100
commit32dea3f24e56ac7c17343457c48f750f16838742 (patch)
tree79177b58cbff08c14991a0da8e851912b1c06309 /training/dtrain/ksampler.h
parent556dc935c7a2d8df78a35447d20d71b4bf6e391a (diff)
dtrain: multi-reference BLEU
Diffstat (limited to 'training/dtrain/ksampler.h')
-rw-r--r--training/dtrain/ksampler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/dtrain/ksampler.h b/training/dtrain/ksampler.h
index 29dab667..9eedc74f 100644
--- a/training/dtrain/ksampler.h
+++ b/training/dtrain/ksampler.h
@@ -43,7 +43,7 @@ struct KSampler : public HypSampler
h.f = samples[i].fmap;
h.model = log(samples[i].model_score);
h.rank = i;
- h.score = scorer_->Score(h.w, *ref_, i, src_len_);
+ h.score = scorer_->Score(h.w, *refs_, i, src_len_);
s_.push_back(h);
sz_++;
f_count_ += h.f.size();