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:
authormaria nadejde <maria.nadejde@gmail.com>2013-09-13 19:30:50 +0400
committermaria nadejde <maria.nadejde@gmail.com>2013-09-13 19:30:50 +0400
commit48fa62838c3746bcefcae7b1526a1dba324c211c (patch)
tree4117d9373644ee15c73329e780f4e1e0878ad9b4 /moses/ChartParser.cpp
parentd810a2c39072afc6ab05248e650dd4ea15ef9bef (diff)
parent3b03d803d98194772e4b0ac6df7041c8c98c0119 (diff)
Merge branch 'master' into GHKMStruct
Diffstat (limited to 'moses/ChartParser.cpp')
-rw-r--r--moses/ChartParser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/ChartParser.cpp b/moses/ChartParser.cpp
index db7cb90aa..a5f179e9a 100644
--- a/moses/ChartParser.cpp
+++ b/moses/ChartParser.cpp
@@ -222,6 +222,11 @@ void ChartParser::CreateInputPaths(const InputType &input)
}
}
+const InputPath &ChartParser::GetInputPath(WordsRange &range) const
+{
+ return GetInputPath(range.GetStartPos(), range.GetEndPos());
+}
+
const InputPath &ChartParser::GetInputPath(size_t startPos, size_t endPos) const
{
size_t offset = endPos - startPos;