diff options
author | Patrick Simianer <p@simianer.de> | 2013-04-26 11:23:54 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2013-04-26 11:23:54 +0200 |
commit | a9844dce3af515e7d04145eb962947efe9b9b441 (patch) | |
tree | e19928b791dcb16c4b5967cb7a37084cf122c1bf /decoder/cdec_ff.cc | |
parent | 45c932f9cb26f0144f3f5ce26b64d60e44f9b854 (diff) |
added Gesa's soft syntactic features
Diffstat (limited to 'decoder/cdec_ff.cc')
-rw-r--r-- | decoder/cdec_ff.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc index afa421ae..6d157840 100644 --- a/decoder/cdec_ff.cc +++ b/decoder/cdec_ff.cc @@ -14,6 +14,8 @@ #include "ff_rules.h" #include "ff_ruleshape.h" #include "ff_bleu.h" +#include "ff_soft_syntax.h" +#include "ff_soft_syntax2.h" #include "ff_source_path.h" #include "ff_source_syntax.h" #include "ff_parse_match.h" @@ -49,7 +51,9 @@ void register_feature_functions() { ff_registry.Register("NgramFeatures", new FFFactory<NgramDetector>()); ff_registry.Register("RuleContextFeatures", new FFFactory<RuleContextFeatures>()); ff_registry.Register("RuleIdentityFeatures", new FFFactory<RuleIdentityFeatures>()); - ff_registry.Register("SourceSyntaxFeatures", new FFFactory<SourceSyntaxFeatures>); + ff_registry.Register("SoftSyntactcFeatures", new FFFactory<SoftSyntacticFeatures>); + ff_registry.Register("SoftSyntcticFeatures2", new FFFactory<SoftSyntacticFeatures2>); + ff_registry.Register("SoftSyntaxFeatures", new FFFactory<SourceSyntaxFeatures>); ff_registry.Register("ParseMatchFeatures", new FFFactory<ParseMatchFeatures>); ff_registry.Register("SourceSpanSizeFeatures", new FFFactory<SourceSpanSizeFeatures>); ff_registry.Register("CMR2008ReorderingFeatures", new FFFactory<CMR2008ReorderingFeatures>()); |