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:
authorHieu Hoang <hieu@hoang.co.uk>2013-12-05 17:06:35 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-12-05 17:06:35 +0400
commitb33cf30bc10632193dee7ff913422c5be295b4dd (patch)
treeb48be6a2da8c26ac025a721c8a0d9c5b34be683c /moses/DecodeGraph.cpp
parent19aa8c1056b6fa34570430b9a8a58b9ec58e41ab (diff)
transliteration pt obery backoff argument. Probably not threadable yet
Diffstat (limited to 'moses/DecodeGraph.cpp')
-rw-r--r--moses/DecodeGraph.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/moses/DecodeGraph.cpp b/moses/DecodeGraph.cpp
index 107258d56..c687c8d21 100644
--- a/moses/DecodeGraph.cpp
+++ b/moses/DecodeGraph.cpp
@@ -32,5 +32,11 @@ DecodeGraph::~DecodeGraph()
RemoveAllInColl(m_steps);
}
+//! Add another decode step to the graph
+void DecodeGraph::Add(DecodeStep *decodeStep) {
+ m_steps.push_back(decodeStep);
+ decodeStep->SetContainer(this);
+}
+
}