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:
authorphkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230>2011-09-07 20:37:33 +0400
committerphkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230>2011-09-07 20:37:33 +0400
commit41a184943720ddf85ac83339ecffa6db15ed8efb (patch)
tree6955e980cfb7f665c45d7cace9710c920c33f055 /mert/Types.h
parent9fee4a97f251ea482479a4882a2bca93e360b61a (diff)
support for sparse feature functions (mert support only when using PRO)
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4184 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/Types.h')
-rw-r--r--mert/Types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mert/Types.h b/mert/Types.h
index 659da2334..703354009 100644
--- a/mert/Types.h
+++ b/mert/Types.h
@@ -26,6 +26,7 @@ typedef vector<statscore_t> statscores_t;
typedef float FeatureStatsType;
typedef FeatureStatsType* featstats_t;
+typedef map<string,FeatureStatsType> sparse_featstats_t;
//typedef vector<FeatureStatsType> featstats_t;
typedef vector<FeatureStats> featarray_t;
typedef vector<FeatureArray> featdata_t;