summaryrefslogtreecommitdiff
path: root/training/dtrain
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
commit642ef236b42199c230e770a22c190836e2af0cf1 (patch)
treeb3f449ecdeb01f990be38ce06fd2196b32f1686e /training/dtrain
parentd32361ce37f794ae92f852ae2c7c3e6ef440ff07 (diff)
typos and minor additions
Diffstat (limited to 'training/dtrain')
-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() {}
};