summaryrefslogtreecommitdiff
path: root/src/lm_ff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lm_ff.h')
-rw-r--r--src/lm_ff.h32
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