diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-15 03:50:18 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-15 03:50:18 +0000 |
commit | 5ced7dafa49c51e9353413b82ecd6402d4a93dd6 (patch) | |
tree | 4740648553ebb0e3b67054333359890b7d7890dd | |
parent | f819992b0b22b4fec88c15fe13118aa6b484b91b (diff) |
fsa model sketch
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@260 ec762483-ff6d-05da-a07a-a48fb63a330f
-rwxr-xr-x | decoder/ff_fsa.h | 34 |
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 |