diff options
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r-- | mert/BleuScorer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h index 4166d30e7..6c1660fab 100644 --- a/mert/BleuScorer.h +++ b/mert/BleuScorer.h @@ -47,6 +47,14 @@ private: void dump_counts(const NgramCounts& counts) const; + // For calculating effective reference length. + void CalcAverage(size_t sentence_id, + vector<ScoreStatsType>& stats) const; + void CalcClosest(size_t sentence_id, size_t length, + vector<ScoreStatsType>& stats) const; + void CalcShortest(size_t sentence_id, + vector<ScoreStatsType>& stats) const; + const int kLENGTH; ReferenceLengthType m_ref_length_type; |