diff options
Diffstat (limited to 'moses/src/ChartHypothesis.cpp')
-rw-r--r-- | moses/src/ChartHypothesis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/src/ChartHypothesis.cpp b/moses/src/ChartHypothesis.cpp index 7a76e063e..24d9838db 100644 --- a/moses/src/ChartHypothesis.cpp +++ b/moses/src/ChartHypothesis.cpp @@ -92,6 +92,7 @@ ChartHypothesis::~ChartHypothesis() */ void ChartHypothesis::CreateOutputPhrase(Phrase &outPhrase) const { + for (size_t pos = 0; pos < GetCurrTargetPhrase().GetSize(); ++pos) { const Word &word = GetCurrTargetPhrase().GetWord(pos); if (word.IsNonTerminal()) { |