diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-10-19 02:00:40 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-10-19 02:00:40 +0300 |
commit | d757346b55cf497f7a6887b00c1a84402f33f374 (patch) | |
tree | 30a3b680d2557ee81028d5c8ceb14dbcb834c1d2 /moses/TranslationOptionCollectionLattice.cpp | |
parent | b8b3d2111a20c6f401291160a01db4bc03ce3676 (diff) |
daily automatic beautifier
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()) { |