diff options
Diffstat (limited to 'decoder')
-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 |