diff options
author | Chris Dyer <redpony@gmail.com> | 2009-12-04 04:15:57 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2009-12-04 04:15:57 -0500 |
commit | 69a9fd913f019e0b1b39bba8554458d2f969ad7f (patch) | |
tree | d7c668a46043f9889eeb1fec1520f498689035d6 /src/lm_ff.h | |
parent | e9c26d407ad1be9caed5f376ff7c3ae8239beddd (diff) |
rename a few files
Diffstat (limited to 'src/lm_ff.h')
-rw-r--r-- | src/lm_ff.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/lm_ff.h b/src/lm_ff.h deleted file mode 100644 index cd717360..00000000 --- a/src/lm_ff.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _LM_FF_H_ -#define _LM_FF_H_ - -#include <vector> -#include <string> - -#include "hg.h" -#include "ff.h" - -class LanguageModelImpl; - -class LanguageModel : public FeatureFunction { - public: - // param = "filename.lm [-o n]" - LanguageModel(const std::string& param); - ~LanguageModel(); - virtual void FinalTraversalFeatures(const void* context, - SparseVector<double>* features) const; - std::string DebugStateToString(const void* state) const; - 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* out_context) const; - private: - const int fid_; - mutable LanguageModelImpl* pimpl_; -}; - -#endif |