From 864995a44648f8de8042d26b30a92ed137acba28 Mon Sep 17 00:00:00 2001 From: philblunsom Date: Mon, 5 Jul 2010 20:51:20 +0000 Subject: Updated config file handling for pyp-topics and pipeline. git-svn-id: https://ws10smt.googlecode.com/svn/trunk@141 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/corpus.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gi/pyp-topics/src/corpus.hh') diff --git a/gi/pyp-topics/src/corpus.hh b/gi/pyp-topics/src/corpus.hh index c2f37130..24981946 100644 --- a/gi/pyp-topics/src/corpus.hh +++ b/gi/pyp-topics/src/corpus.hh @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -35,6 +36,10 @@ public: int num_terms() const { return m_num_terms; } int num_types() const { return m_num_types; } + virtual int context_count(const int&) const { + return std::numeric_limits::max(); + } + protected: int m_num_terms, m_num_types; boost::ptr_vector m_documents; -- cgit v1.2.3