diff options
Diffstat (limited to 'moses/TranslationOptionCollectionLattice.cpp')
-rw-r--r-- | moses/TranslationOptionCollectionLattice.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/moses/TranslationOptionCollectionLattice.cpp b/moses/TranslationOptionCollectionLattice.cpp index bf5c305d2..2cb3b6387 100644 --- a/moses/TranslationOptionCollectionLattice.cpp +++ b/moses/TranslationOptionCollectionLattice.cpp @@ -61,8 +61,8 @@ TranslationOptionCollectionLattice const ScorePair &scores = col[i].second; ScorePair *inputScore = new ScorePair(scores); - InputPath *path - = new InputPath(ttask, subphrase, labels, range, NULL, inputScore); + InputPath *path + = new InputPath(ttask, subphrase, labels, range, NULL, inputScore); path->SetNextNode(nextNode); m_inputPathQueue.push_back(path); @@ -114,8 +114,8 @@ void TranslationOptionCollectionLattice::Extend(const InputPath &prevPath, const ScorePair *inputScore = new ScorePair(*prevInputScore); inputScore->PlusEquals(scores); - InputPath *path = new InputPath(prevPath.ttask, subphrase, labels, - range, &prevPath, inputScore); + InputPath *path = new InputPath(prevPath.ttask, subphrase, labels, + range, &prevPath, inputScore); path->SetNextNode(nextNode); m_inputPathQueue.push_back(path); @@ -142,8 +142,8 @@ void TranslationOptionCollectionLattice::CreateTranslationOptions() for (size_t i = 0; i < m_inputPathQueue.size(); ++i) { const InputPath &path = *m_inputPathQueue[i]; - TargetPhraseCollection::shared_ptr tpColl - = path.GetTargetPhrases(phraseDictionary); + TargetPhraseCollection::shared_ptr tpColl + = path.GetTargetPhrases(phraseDictionary); const WordsRange &range = path.GetWordsRange(); if (tpColl && tpColl->GetSize()) { |