diff options
author | Barry Haddow <barry.haddow@gmail.com> | 2014-08-06 19:37:09 +0400 |
---|---|---|
committer | Barry Haddow <barry.haddow@gmail.com> | 2014-08-06 19:37:09 +0400 |
commit | fbe73dd06f89e0b17d9f3ec9e82d5c8f2add7fbd (patch) | |
tree | f1a24ac4919f669099bd4742f06d5892b5c167bd /moses/ChartManager.cpp | |
parent | ae2a52bd21e3b4aebb611357f23ae3a8e56bdaeb (diff) |
Stub out chart hypergraph output
Diffstat (limited to 'moses/ChartManager.cpp')
-rw-r--r-- | moses/ChartManager.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/moses/ChartManager.cpp b/moses/ChartManager.cpp index e137da915..8033c3280 100644 --- a/moses/ChartManager.cpp +++ b/moses/ChartManager.cpp @@ -41,11 +41,12 @@ extern bool g_mosesDebug; * \param source the sentence to be decoded * \param system which particular set of models to use. */ -ChartManager::ChartManager(InputType const& source) +ChartManager::ChartManager(size_t lineNumber,InputType const& source) :m_source(source) ,m_hypoStackColl(source, *this) ,m_start(clock()) ,m_hypothesisId(0) + ,m_lineNumber(lineNumber) ,m_parser(source, m_hypoStackColl) ,m_translationOptionList(StaticData::Instance().GetRuleLimit(), source) { @@ -275,4 +276,9 @@ void ChartManager::FindReachableHypotheses( const ChartHypothesis *hypo, std::ma } } +void ChartManager::OutputSearchGraphAsHypergraph(std::ostream &outputSearchGraphStream) const { + //TODO + +} + } // namespace Moses |