diff options
author | nicolabertoldi <nicolabertoldi@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-06-05 11:23:34 +0400 |
---|---|---|
committer | nicolabertoldi <nicolabertoldi@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-06-05 11:23:34 +0400 |
commit | 281bf610b87a02c762cf2bece152e99c184069fa (patch) | |
tree | e11bb70d149d87574f2c04f1bbd2521afb081d85 /mert/Types.h | |
parent | 1b44c7c445ead80485186c1c92b18cfbd3b7992e (diff) |
added binary read/load facility for feature data
added names of features in the header
added methods to access the features by name
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1819 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/Types.h')
-rw-r--r-- | mert/Types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mert/Types.h b/mert/Types.h index eb043f5e9..826813bae 100644 --- a/mert/Types.h +++ b/mert/Types.h @@ -24,7 +24,8 @@ typedef vector<statscore_t> statscores_t; typedef float FeatureStatsType; -typedef vector<FeatureStatsType> featstats_t; +typedef FeatureStatsType* featstats_t; +//typedef vector<FeatureStatsType> featstats_t; typedef vector<FeatureStats> featarray_t; typedef vector<FeatureArray> featdata_t; |