summaryrefslogtreecommitdiff
path: root/decoder/cdec_ff.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-04-25 10:29:57 +0200
committerPatrick Simianer <p@simianer.de>2013-04-25 10:29:57 +0200
commitf332d338c8272a7d06692eebbfd6de3ce3d56935 (patch)
tree2e00ba7a007452e3f7c70ecf368edb7cfd29cee1 /decoder/cdec_ff.cc
parent9ba8dab4b82a154b7a9b3d78da3df4a24fc8ba46 (diff)
added Gesa's parse match feature function
Diffstat (limited to 'decoder/cdec_ff.cc')
-rw-r--r--decoder/cdec_ff.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc
index 0bf441d4..afa421ae 100644
--- a/decoder/cdec_ff.cc
+++ b/decoder/cdec_ff.cc
@@ -16,6 +16,7 @@
#include "ff_bleu.h"
#include "ff_source_path.h"
#include "ff_source_syntax.h"
+#include "ff_parse_match.h"
#include "ff_register.h"
#include "ff_charset.h"
#include "ff_wordset.h"
@@ -49,6 +50,7 @@ void register_feature_functions() {
ff_registry.Register("RuleContextFeatures", new FFFactory<RuleContextFeatures>());
ff_registry.Register("RuleIdentityFeatures", new FFFactory<RuleIdentityFeatures>());
ff_registry.Register("SourceSyntaxFeatures", new FFFactory<SourceSyntaxFeatures>);
+ ff_registry.Register("ParseMatchFeatures", new FFFactory<ParseMatchFeatures>);
ff_registry.Register("SourceSpanSizeFeatures", new FFFactory<SourceSpanSizeFeatures>);
ff_registry.Register("CMR2008ReorderingFeatures", new FFFactory<CMR2008ReorderingFeatures>());
ff_registry.Register("RuleSourceBigramFeatures", new FFFactory<RuleSourceBigramFeatures>());