summaryrefslogtreecommitdiff
path: root/decoder/ff_fsa.h
blob: cd56f1a59e20d0895b0f3b47406ac273193d0b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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