From 2a18010e255810cc2b5bcbe688f3db8eabda23ca Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Sun, 6 Dec 2009 22:25:25 -0500 Subject: add compound splitting logic and features (Dyer 2008, NAACL) --- src/cdec_ff.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cdec_ff.cc') diff --git a/src/cdec_ff.cc b/src/cdec_ff.cc index 89353f5f..846a908e 100644 --- a/src/cdec_ff.cc +++ b/src/cdec_ff.cc @@ -2,8 +2,9 @@ #include "ff.h" #include "ff_lm.h" -#include "ff_factory.h" +#include "ff_csplit.h" #include "ff_wordalign.h" +#include "ff_factory.h" boost::shared_ptr global_ff_registry; @@ -14,5 +15,7 @@ void register_feature_functions() { global_ff_registry->Register("MarkovJump", new FFFactory); global_ff_registry->Register("BlunsomSynchronousParseHack", new FFFactory); global_ff_registry->Register("AlignerResults", new FFFactory); + global_ff_registry->Register("CSplit_BasicFeatures", new FFFactory); + global_ff_registry->Register("CSplit_ReverseCharLM", new FFFactory); }; -- cgit v1.2.3