Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Haddow <barry.haddow@gmail.com>2014-08-06 19:37:09 +0400
committerBarry Haddow <barry.haddow@gmail.com>2014-08-06 19:37:09 +0400
commitfbe73dd06f89e0b17d9f3ec9e82d5c8f2add7fbd (patch)
treef1a24ac4919f669099bd4742f06d5892b5c167bd /moses/ChartManager.cpp
parentae2a52bd21e3b4aebb611357f23ae3a8e56bdaeb (diff)
Stub out chart hypergraph output
Diffstat (limited to 'moses/ChartManager.cpp')
-rw-r--r--moses/ChartManager.cpp8
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