From 34b7c1e7c3aa5f9ee780be65effc40726d849303 Mon Sep 17 00:00:00 2001 From: "Wu, Ke" Date: Sat, 1 Nov 2014 14:48:17 -0400 Subject: Junhui's implementation of soft syntax constraint features --- decoder/cdec_ff.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'decoder/cdec_ff.cc') diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc index 6f7227aa..973a643a 100644 --- a/decoder/cdec_ff.cc +++ b/decoder/cdec_ff.cc @@ -15,6 +15,7 @@ #include "ff_rules.h" #include "ff_ruleshape.h" #include "ff_bleu.h" +#include "ff_soft_syn.h" #include "ff_soft_syntax.h" #include "ff_soft_syntax_mindist.h" #include "ff_source_path.h" @@ -80,4 +81,5 @@ void register_feature_functions() { ff_registry.Register("WordSet", new FFFactory); ff_registry.Register("ConstReorderFeature", new FFFactory); ff_registry.Register("External", new FFFactory); + ff_registry.Register("SoftSynFeature", new SoftSynFeatureFactory()); } -- cgit v1.2.3