summaryrefslogtreecommitdiff
path: root/decoder/feature_vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/feature_vector.h')
-rwxr-xr-xdecoder/feature_vector.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/decoder/feature_vector.h b/decoder/feature_vector.h
new file mode 100755
index 00000000..1b272506
--- /dev/null
+++ b/decoder/feature_vector.h
@@ -0,0 +1,14 @@
+#ifndef _FEATURE_VECTOR_H_
+#define _FEATURE_VECTOR_H_
+
+#include <vector>
+#include "sparse_vector.h"
+#include "fdict.h"
+
+typedef double Featval;
+typedef SparseVectorList<Featval> FeatureVectorList;
+typedef SparseVector<Featval> FeatureVector;
+typedef SparseVector<Featval> WeightVector;
+typedef std::vector<Featval> DenseWeightVector;
+
+#endif