diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-11-02 03:00:37 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-11-02 03:00:37 +0300 |
commit | f38976aba07e0dbca74f9b824b28add486889b2a (patch) | |
tree | 54d2a68a9da692ba4e8fc91d339523e9874acd66 /moses/MockHypothesis.cpp | |
parent | 8424fb6e2ad8e9d15471c7e610bce85082610a41 (diff) |
daily automatic beautifier
Diffstat (limited to 'moses/MockHypothesis.cpp')
-rw-r--r-- | moses/MockHypothesis.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/moses/MockHypothesis.cpp b/moses/MockHypothesis.cpp index 12527aee9..53a97764a 100644 --- a/moses/MockHypothesis.cpp +++ b/moses/MockHypothesis.cpp @@ -45,13 +45,13 @@ MockHypothesisGuard m_manager.reset(new Manager(m_ttask)); //Initial empty hypothesis - Bitmaps bitmaps(m_sentence.get()->GetSize(), - m_sentence.get()->m_sourceCompleted); + Bitmaps bitmaps(m_sentence.get()->GetSize(), + m_sentence.get()->m_sourceCompleted); m_manager->ResetSentenceStats(*m_sentence); const Bitmap &initBitmap = bitmaps.GetInitialBitmap(); - m_hypothesis = new Hypothesis(*m_manager, *m_sentence, m_initialTransOpt, - initBitmap); + m_hypothesis = new Hypothesis(*m_manager, *m_sentence, m_initialTransOpt, + initBitmap); //create the chain vector<Alignment>::const_iterator ai = alignments.begin(); @@ -59,8 +59,8 @@ MockHypothesisGuard for (; ti != targetSegments.end() && ai != alignments.end(); ++ti,++ai) { Hypothesis* prevHypo = m_hypothesis; Range range(ai->first,ai->second); - const Bitmap &newBitmap = bitmaps.GetBitmap(prevHypo->GetWordsBitmap(), - range); + const Bitmap &newBitmap = bitmaps.GetBitmap(prevHypo->GetWordsBitmap(), + range); m_targetPhrases.push_back(TargetPhrase(NULL)); // m_targetPhrases.back().CreateFromString(Input, factors, *ti, "|", NULL); |