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 | c41fc46e66a231b2e06b2b7d927c40325d4923c5 (patch) | |
tree | 2c85ffa7a58894dc3a4bcdfc5502f8433cec903c /decoder/ff_fsa.h | |
parent | 27ed3c0fecde089a761ccf718748413bb572a3a4 (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-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 |