summaryrefslogtreecommitdiff
path: root/decoder/ff_soft_syn.h
diff options
context:
space:
mode:
authorWu, Ke <wuke@cs.umd.edu>2014-12-06 16:32:35 -0500
committerWu, Ke <wuke@cs.umd.edu>2014-12-06 16:32:35 -0500
commit9dff48152f8139c944ef15c658d939060e52b43c (patch)
tree28e931474d767cef82e87f7e28de5829011134f4 /decoder/ff_soft_syn.h
parentcf7cf1e63f034b703adf55ffe72e534854903aee (diff)
Remove unused code
Diffstat (limited to 'decoder/ff_soft_syn.h')
-rw-r--r--decoder/ff_soft_syn.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/decoder/ff_soft_syn.h b/decoder/ff_soft_syn.h
index 21618bc0..df9a6cc8 100644
--- a/decoder/ff_soft_syn.h
+++ b/decoder/ff_soft_syn.h
@@ -35,56 +35,4 @@ struct SoftSynFeatureFactory : public FactoryBase<FeatureFunction> {
std::string usage(bool params, bool verbose) const;
};
-struct SoftKBestSynFeatureImpl;
-
-class SoftKBestSynFeature : public FeatureFunction {
- public:
- SoftKBestSynFeature(std::string param);
- ~SoftKBestSynFeature();
- static std::string usage(bool param, bool verbose);
-
- protected:
- virtual void PrepareForInput(const SentenceMetadata& smeta);
-
- virtual void TraversalFeaturesImpl(
- const SentenceMetadata& smeta, const HG::Edge& edge,
- const std::vector<const void*>& ant_contexts,
- SparseVector<double>* features, SparseVector<double>* estimated_features,
- void* out_context) const;
-
- private:
- SoftKBestSynFeatureImpl* pimpl_;
-};
-
-struct SoftKBestSynFeatureFactory : public FactoryBase<FeatureFunction> {
- FP Create(std::string param) const;
- std::string usage(bool params, bool verbose) const;
-};
-
-struct SoftForestSynFeatureImpl;
-
-class SoftForestSynFeature : public FeatureFunction {
- public:
- SoftForestSynFeature(std::string param);
- ~SoftForestSynFeature();
- static std::string usage(bool param, bool verbose);
-
- protected:
- virtual void PrepareForInput(const SentenceMetadata& smeta);
-
- virtual void TraversalFeaturesImpl(
- const SentenceMetadata& smeta, const HG::Edge& edge,
- const std::vector<const void*>& ant_contexts,
- SparseVector<double>* features, SparseVector<double>* estimated_features,
- void* out_context) const;
-
- private:
- SoftForestSynFeatureImpl* pimpl_;
-};
-
-struct SoftForestSynFeatureFactory : public FactoryBase<FeatureFunction> {
- FP Create(std::string param) const;
- std::string usage(bool params, bool verbose) const;
-};
-
#endif /* FF_SOFT_SYN_H_ */