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:
authorRico Sennrich <rico.sennrich@gmx.ch>2014-09-16 19:36:45 +0400
committerRico Sennrich <rico.sennrich@gmx.ch>2014-09-22 13:49:20 +0400
commit6810b225ccd673c7684ab9b62e0daa0a7af054f3 (patch)
tree570de70e3e57af2bc13782c09e222599c7b26e5d /mert/TerScorer.h
parentf40bb2c53c2dcd832bde9e987c921171e2d1e581 (diff)
calculateScore with float (for smoothing support)
Diffstat (limited to 'mert/TerScorer.h')
-rw-r--r--mert/TerScorer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/TerScorer.h b/mert/TerScorer.h
index 5e9fed46f..f84e86006 100644
--- a/mert/TerScorer.h
+++ b/mert/TerScorer.h
@@ -31,7 +31,7 @@ public:
return kLENGTH + 1;
}
- virtual float calculateScore(const std::vector<int>& comps) const;
+ virtual float calculateScore(const std::vector<ScoreStatsType>& comps) const;
private:
const int kLENGTH;