summaryrefslogtreecommitdiff
path: root/src/cdec_ff.cc
blob: 89353f5f9a4a076a60be6c46e3627cd6e4ab07ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <boost/shared_ptr.hpp>

#include "ff.h"
#include "ff_lm.h"
#include "ff_factory.h"
#include "ff_wordalign.h"

boost::shared_ptr<FFRegistry> global_ff_registry;

void register_feature_functions() {
  global_ff_registry->Register("LanguageModel", new FFFactory<LanguageModel>);
  global_ff_registry->Register("WordPenalty", new FFFactory<WordPenalty>);
  global_ff_registry->Register("RelativeSentencePosition", new FFFactory<RelativeSentencePosition>);
  global_ff_registry->Register("MarkovJump", new FFFactory<MarkovJump>);
  global_ff_registry->Register("BlunsomSynchronousParseHack", new FFFactory<BlunsomSynchronousParseHack>);
  global_ff_registry->Register("AlignerResults", new FFFactory<AlignerResults>);
};