diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 13:28:28 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 13:28:28 +0400 |
commit | 66d4c2b0be0a41bb7eca5734913add627a193b7b (patch) | |
tree | e3cc5724da69172f8a1d8118216790c89988529e /moses-cmd | |
parent | 7a808a2edb5ce9304a2d6dd043188c64a1f23b46 (diff) |
source phrase is a pointer in translation options.
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/IOWrapper.cpp | 2 |
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(); } } |