summaryrefslogtreecommitdiff
path: root/decoder/ff_fsa.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-15 03:50:18 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-15 03:50:18 +0000
commitc41fc46e66a231b2e06b2b7d927c40325d4923c5 (patch)
tree2c85ffa7a58894dc3a4bcdfc5502f8433cec903c /decoder/ff_fsa.h
parent27ed3c0fecde089a761ccf718748413bb572a3a4 (diff)
fsa model sketch
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@260 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/ff_fsa.h')
-rwxr-xr-xdecoder/ff_fsa.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/decoder/ff_fsa.h b/decoder/ff_fsa.h
new file mode 100755
index 00000000..cd56f1a5
--- /dev/null
+++ b/decoder/ff_fsa.h
@@ -0,0 +1,34 @@
+#ifndef FF_FSA_H
+#define FF_FSA_H
+
+#include <string>
+#include "ff.h"
+#include "sparse_vector.h"
+/*
+
+ */
+struct FsaFeatureFunction {
+ std::string name;
+
+ // state for backoff
+
+ // scan
+
+ // heuristic
+
+ // all strings x of this length must end in the same state
+ virtual int MarkovOrder() const {
+ return 0;
+ }
+
+
+};
+
+
+// regular bottom up scorer from Fsa feature
+template <class Impl>
+struct FeatureFunctionFromFsa {
+};
+
+
+#endif