summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-11-22 13:58:35 +0100
committerPatrick Simianer <p@simianer.de>2013-11-22 13:58:35 +0100
commitcbf6803e6b81f7a8b0e153df0b8c4579d2fc5b2e (patch)
tree5bf579dc9a7e579a669607dad8eaf030f715d659 /training
parentdd73eb6adb58769dbd2ff2834faccad2cabb59b7 (diff)
typos and minor additions
Diffstat (limited to 'training')
-rw-r--r--training/dtrain/score.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/dtrain/score.h b/training/dtrain/score.h
index 53e970ba..2a49e52d 100644
--- a/training/dtrain/score.h
+++ b/training/dtrain/score.h
@@ -138,7 +138,7 @@ make_ngram_counts(const vector<WordID>& hyp, const vector<WordID>& ref, const un
struct BleuScorer : public LocalScorer
{
score_t Bleu(NgramCounts& counts, const unsigned hyp_len, const unsigned ref_len);
- score_t Score(vector<WordID>& hyp, vector<WordID>& ref, const unsigned /*rank*/, const unsigned /*src_len*/);
+ score_t Score(const vector<WordID>& hyp, const vector<WordID>& ref, const unsigned /*rank*/, const unsigned /*src_len*/);
void Reset() {}
};