summaryrefslogtreecommitdiff
path: root/decoder/ff_lm.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-11-10 00:58:44 -0500
committerChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-11-10 00:58:44 -0500
commit2d3948b98bb9e8c7bad60f1acd99ff0b42b3ae30 (patch)
tree22cd235bd6c94ee25c1ab9b2cf2a2d1d9aaec5c5 /decoder/ff_lm.h
parent074fa88375967adababc632ea763e9dea389831e (diff)
guard against direct includes of tr1
Diffstat (limited to 'decoder/ff_lm.h')
-rw-r--r--decoder/ff_lm.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/decoder/ff_lm.h b/decoder/ff_lm.h
index 94e18f00..85e79704 100644
--- a/decoder/ff_lm.h
+++ b/decoder/ff_lm.h
@@ -69,26 +69,4 @@ class LanguageModel : public FeatureFunction {
/* mutable */ LanguageModelInterface* pimpl_;
};
-#ifdef HAVE_RANDLM
-class LanguageModelRandLM : public FeatureFunction {
- public:
- // param = "filename.lm [-o n]"
- LanguageModelRandLM(const std::string& param);
- ~LanguageModelRandLM();
- 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 HG::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
-
#endif