diff options
author | Chris Dyer <redpony@gmail.com> | 2014-12-18 12:52:00 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-12-18 12:52:00 -0500 |
commit | 59befb84d2879bb9b50eaa974471155caefbc55f (patch) | |
tree | 8ceea539890f3faaa5a35303bf6293536e6e63fb /decoder/cdec_ff.cc | |
parent | 3b3d7fe1f65c811d2c158f0c79a007817023a5c5 (diff) | |
parent | d426bbfed039f1b8ab0ebbea9745f6e827a40af1 (diff) |
Merge pull request #64 from kho/softsyn_2
Proper implementation of soft syntactic 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()); } |