From 8c6536c56c728213b9e1190f0c9f76f7b4948140 Mon Sep 17 00:00:00 2001 From: graehl Date: Fri, 23 Jul 2010 02:27:28 +0000 Subject: bottom-up FF from fsa FF - WordPenaltyFsa - needs debugging git-svn-id: https://ws10smt.googlecode.com/svn/trunk@373 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/cdec_ff.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decoder/cdec_ff.cc') diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc index 069e07f1..ecb244d8 100644 --- a/decoder/cdec_ff.cc +++ b/decoder/cdec_ff.cc @@ -8,12 +8,13 @@ #include "ff_factory.h" #include "ff_ruleshape.h" #include "ff_bleu.h" +#include "ff_from_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 //TODO: use for all features the new Register which requires usage(...) #ifdef HAVE_RANDLM global_ff_registry->Register("RandLM", new FFFactory); @@ -34,5 +35,4 @@ void register_feature_functions() { global_ff_registry->Register("CSplit_ReverseCharLM", new FFFactory); global_ff_registry->Register("Tagger_BigramIdentity", new FFFactory); global_ff_registry->Register("LexicalPairIdentity", new FFFactory); -}; - +} -- cgit v1.2.3