From 46f2a84ae599fdf53c70519950873df4318a16b1 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Mon, 29 Apr 2013 11:01:38 +0200
Subject: added (broken) variant of a feature
---
decoder/cdec_ff.cc | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
(limited to 'decoder/cdec_ff.cc')
diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc
index 186c4de3..bbb83258 100644
--- a/decoder/cdec_ff.cc
+++ b/decoder/cdec_ff.cc
@@ -17,11 +17,15 @@
#include "ff_soft_syntax.h"
#include "ff_soft_syntax2.h"
#include "ff_source_path.h"
+
+
+#include "ff_parse_match.h"
#include "ff_source_syntax.h"
#include "ff_source_syntax_p.h"
#include "ff_source_syntax2.h"
#include "ff_source_syntax2_p.h"
-#include "ff_parse_match.h"
+
+
#include "ff_register.h"
#include "ff_charset.h"
#include "ff_wordset.h"
@@ -54,14 +58,24 @@ void register_feature_functions() {
ff_registry.Register("NgramFeatures", new FFFactory());
ff_registry.Register("RuleContextFeatures", new FFFactory());
ff_registry.Register("RuleIdentityFeatures", new FFFactory());
- ff_registry.Register("SoftSyntactcFeatures", new FFFactory);
- ff_registry.Register("SoftSyntcticFeatures2", new FFFactory);
+
+
+ ff_registry.Register("ParseMatchFeatures", new FFFactory);
+
+ ff_registry.Register("SoftSyntacticFeatures", new FFFactory);
+ ff_registry.Register("SoftSyntacticFeatures2", new FFFactory);
+
ff_registry.Register("SourceSyntaxFeatures", new FFFactory);
- //ff_registry.Register("PSourceSyntaxFeatures", new FFFactory);
ff_registry.Register("SourceSyntaxFeatures2", new FFFactory);
- ff_registry.Register("ParseMatchFeatures", new FFFactory);
+
ff_registry.Register("SourceSpanSizeFeatures", new FFFactory);
+
+ //ff_registry.Register("PSourceSyntaxFeatures", new FFFactory);
//ff_registry.Register("PSourceSpanSizeFeatures", new FFFactory);
+ ff_registry.Register("PSourceSyntaxFeatures2", new FFFactory);
+
+
+
ff_registry.Register("CMR2008ReorderingFeatures", new FFFactory());
ff_registry.Register("RuleSourceBigramFeatures", new FFFactory());
ff_registry.Register("RuleTargetBigramFeatures", new FFFactory());
--
cgit v1.2.3