Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEva <eva@deimos.(none)>2012-04-29 10:11:30 +0400
committerEva <eva@deimos.(none)>2012-04-29 10:11:30 +0400
commit6f39ad0b3e51a4034707e0b592a3d40e8c7f0fd4 (patch)
tree299c7f2d15199b9d6fcfaed3c8c98f005909e37d /mert/BleuScorer.h
parentb8b3000daf9be08f2748b5f0a616b22bde2f913f (diff)
test
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r--mert/BleuScorer.h3
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);