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/Types.h
parentf40bb2c53c2dcd832bde9e987c921171e2d1e581 (diff)
calculateScore with float (for smoothing support)
Diffstat (limited to 'mert/Types.h')
-rw-r--r--mert/Types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/Types.h b/mert/Types.h
index 0ea9614d9..10f00de16 100644
--- a/mert/Types.h
+++ b/mert/Types.h
@@ -33,7 +33,7 @@ typedef FeatureStatsType* featstats_t;
typedef std::vector<FeatureStats> featarray_t;
typedef std::vector<FeatureArray> featdata_t;
-typedef int ScoreStatsType;
+typedef float ScoreStatsType;
typedef ScoreStatsType* scorestats_t;
//typedef std::vector<ScoreStatsType> scorestats_t;
typedef std::vector<ScoreStats> scorearray_t;