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-08-07 13:28:28 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-07 13:28:28 +0400
commit66d4c2b0be0a41bb7eca5734913add627a193b7b (patch)
treee3cc5724da69172f8a1d8118216790c89988529e /moses-cmd
parent7a808a2edb5ce9304a2d6dd043188c64a1f23b46 (diff)
source phrase is a pointer in translation options.
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/IOWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses-cmd/IOWrapper.cpp b/moses-cmd/IOWrapper.cpp
index daebcebdf..37398128a 100644
--- a/moses-cmd/IOWrapper.cpp
+++ b/moses-cmd/IOWrapper.cpp
@@ -348,7 +348,7 @@ void OutputBestHypo(const std::vector<Word>& mbrBestHypo, long /*translationId*
void OutputInput(std::vector<const Phrase*>& map, const Hypothesis* hypo)
{
if (hypo->GetPrevHypo()) {
- OutputInput(map, hypo->GetPrevHypo());
+ OutputInput(map, hypo->GetPrevHypo());
map[hypo->GetCurrSourceWordsRange().GetStartPos()] = &hypo->GetTranslationOption().GetSourcePhrase();
}
}