From 90d6674878bfc231012bb8eb2a3eaa183eee5220 Mon Sep 17 00:00:00 2001 From: graehl Date: Fri, 23 Jul 2010 04:21:51 +0000 Subject: fsa: stateless works, debug sample bigram {Longer,Shorter}ThanPrev git-svn-id: https://ws10smt.googlecode.com/svn/trunk@375 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/cdec_ff.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'decoder/cdec_ff.cc') diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc index ecb244d8..78c67fb3 100644 --- a/decoder/cdec_ff.cc +++ b/decoder/cdec_ff.cc @@ -8,13 +8,15 @@ #include "ff_factory.h" #include "ff_ruleshape.h" #include "ff_bleu.h" -#include "ff_from_fsa.h" +#include "ff_sample_fsa.h" boost::shared_ptr global_ff_registry; void register_feature_functions() { global_ff_registry->Register(new FFFactory); global_ff_registry->Register(new FFFactory); // same as WordPenalty, but implemented using ff_fsa + global_ff_registry->Register(new FFFactory >); + global_ff_registry->Register(new FFFactory >); //TODO: use for all features the new Register which requires usage(...) #ifdef HAVE_RANDLM global_ff_registry->Register("RandLM", new FFFactory); -- cgit v1.2.3