summaryrefslogtreecommitdiff
path: root/decoder/ff_lm_fsa.h
blob: 01b3764e9811c29638c1b6b9473f62d406dcfb1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef FF_LM_FSA_H
#define FF_LM_FSA_H

//TODO: use SRI LM::contextBOW, LM::contextID to shorten state

#include "ff_lm.h"
#include "ff_from_fsa.h"

class LanguageModelFsa : public FsaFeatureFunctionBase {
  static std::string usage(bool,bool);
  LanguageModelFsa(std::string const& param);
  // implementations in ff_lm.cc
};

typedef FeatureFunctionFromFsa<LanguageModelFsa> LanguageModelFromFsa;

#endif