diff options
author | Eva <eva@deimos.(none)> | 2012-04-29 10:11:30 +0400 |
---|---|---|
committer | Eva <eva@deimos.(none)> | 2012-04-29 10:11:30 +0400 |
commit | 6f39ad0b3e51a4034707e0b592a3d40e8c7f0fd4 (patch) | |
tree | 299c7f2d15199b9d6fcfaed3c8c98f005909e37d /mert/BleuScorer.h | |
parent | b8b3000daf9be08f2748b5f0a616b22bde2f913f (diff) |
test
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r-- | mert/BleuScorer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h index a10b09a7a..abd80478c 100644 --- a/mert/BleuScorer.h +++ b/mert/BleuScorer.h @@ -23,6 +23,9 @@ class BleuScorer: public StatisticsBasedScorer public: explicit BleuScorer(const string& config = ""); ~BleuScorer(); + + static vector<float> ScoreNbestList(string scoreFile, string featureFile); + static float sentenceLevelBleuPlusOne(const vector<float>& stats); virtual void setReferenceFiles(const vector<string>& referenceFiles); virtual void prepareStats(size_t sid, const string& text, ScoreStats& entry); |