summaryrefslogtreecommitdiff
path: root/decoder/ff_spans.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-09-09 10:15:56 +0200
committerChris Dyer <cdyer@cs.cmu.edu>2011-09-09 10:15:56 +0200
commit9f7a0765905e2906c43fbb5359d00ccdac38ca7f (patch)
treeb71a8a1f7104f1e53bbe2035011f8824a995fb5d /decoder/ff_spans.h
parent51e8f4a5b9ffc96f3486ede77fe4511918156cf4 (diff)
rule feature refactoring
Diffstat (limited to 'decoder/ff_spans.h')
-rw-r--r--decoder/ff_spans.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/decoder/ff_spans.h b/decoder/ff_spans.h
index b22c4d03..24e0dede 100644
--- a/decoder/ff_spans.h
+++ b/decoder/ff_spans.h
@@ -44,21 +44,6 @@ class SpanFeatures : public FeatureFunction {
WordID oov_;
};
-class RuleNgramFeatures : public FeatureFunction {
- public:
- RuleNgramFeatures(const std::string& param);
- protected:
- virtual void TraversalFeaturesImpl(const SentenceMetadata& smeta,
- const Hypergraph::Edge& edge,
- const std::vector<const void*>& ant_contexts,
- SparseVector<double>* features,
- SparseVector<double>* estimated_features,
- void* context) const;
- virtual void PrepareForInput(const SentenceMetadata& smeta);
- private:
- mutable std::map<const TRule*, SparseVector<double> > rule2_feats_;
-};
-
class CMR2008ReorderingFeatures : public FeatureFunction {
public:
CMR2008ReorderingFeatures(const std::string& param);