diff options
author | Patrick Simianer <p@simianer.de> | 2013-11-22 13:58:35 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2013-11-22 13:58:35 +0100 |
commit | cbf6803e6b81f7a8b0e153df0b8c4579d2fc5b2e (patch) | |
tree | 5bf579dc9a7e579a669607dad8eaf030f715d659 /training | |
parent | dd73eb6adb58769dbd2ff2834faccad2cabb59b7 (diff) |
typos and minor additions
Diffstat (limited to 'training')
-rw-r--r-- | training/dtrain/score.h | 2 |
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() {} }; |