diff options
author | Wu, Ke <wuke@cs.umd.edu> | 2014-11-01 14:48:17 -0400 |
---|---|---|
committer | Wu, Ke <wuke@cs.umd.edu> | 2014-11-01 14:48:17 -0400 |
commit | 4444b842ef12f31e3aede13950b553f9a5bcb2d6 (patch) | |
tree | c68a65174fad0d15f9a238e86e056560d6badaca /decoder/cdec_ff.cc | |
parent | e09c8fc558a5138b7e67b8f8fc898f7d4003e0b9 (diff) |
Junhui's implementation of soft syntax constraint features
Diffstat (limited to 'decoder/cdec_ff.cc')
-rw-r--r-- | decoder/cdec_ff.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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<WordSet>); ff_registry.Register("ConstReorderFeature", new FFFactory<ConstReorderFeature>); ff_registry.Register("External", new FFFactory<ExternalFeature>); + ff_registry.Register("SoftSynFeature", new SoftSynFeatureFactory()); } |