diff options
author | Patrick Simianer <p@simianer.de> | 2013-04-26 15:17:52 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2013-04-26 15:17:52 +0200 |
commit | 4b8a716f3024a2e5c7c80518113f76c61b588bc0 (patch) | |
tree | 4b6347a70e00efc5c221a71142da0bdcff48bdf2 /decoder/cdec_ff.cc | |
parent | a39be8fb696f2c8ab495e12504d5c836b39835d3 (diff) |
added (broken) feature function
Diffstat (limited to 'decoder/cdec_ff.cc')
-rw-r--r-- | decoder/cdec_ff.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc index 6d157840..d1e326fe 100644 --- a/decoder/cdec_ff.cc +++ b/decoder/cdec_ff.cc @@ -18,6 +18,7 @@ #include "ff_soft_syntax2.h" #include "ff_source_path.h" #include "ff_source_syntax.h" +#include "ff_source_syntax_p.h" #include "ff_parse_match.h" #include "ff_register.h" #include "ff_charset.h" @@ -53,9 +54,11 @@ void register_feature_functions() { ff_registry.Register("RuleIdentityFeatures", new FFFactory<RuleIdentityFeatures>()); ff_registry.Register("SoftSyntactcFeatures", new FFFactory<SoftSyntacticFeatures>); ff_registry.Register("SoftSyntcticFeatures2", new FFFactory<SoftSyntacticFeatures2>); - ff_registry.Register("SoftSyntaxFeatures", new FFFactory<SourceSyntaxFeatures>); + ff_registry.Register("SourceSyntaxFeatures", new FFFactory<SourceSyntaxFeatures>); + //ff_registry.Register("PSourceSyntaxFeatures", new FFFactory<PSourceSyntaxFeatures>); ff_registry.Register("ParseMatchFeatures", new FFFactory<ParseMatchFeatures>); ff_registry.Register("SourceSpanSizeFeatures", new FFFactory<SourceSpanSizeFeatures>); + //ff_registry.Register("PSourceSpanSizeFeatures", new FFFactory<PSourceSpanSizeFeatures>); ff_registry.Register("CMR2008ReorderingFeatures", new FFFactory<CMR2008ReorderingFeatures>()); ff_registry.Register("RuleSourceBigramFeatures", new FFFactory<RuleSourceBigramFeatures>()); ff_registry.Register("RuleTargetBigramFeatures", new FFFactory<RuleTargetBigramFeatures>()); |