Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-20 03:15:15 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-20 03:15:15 +0300
commit3d8e5fa79e1577141f0540162519541bea5fe295 (patch)
tree8286eb8feec0dc497c86a21605d43cfdf8fb260e /moses/BitmapContainer.cpp
parentb5f0758ee453fa351980a2d52375bf1cc1f66c32 (diff)
use Bitmap& in Hypothesis
Diffstat (limited to 'moses/BitmapContainer.cpp')
-rw-r--r--moses/BitmapContainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/BitmapContainer.cpp b/moses/BitmapContainer.cpp
index 0c75571a3..00e3cb6fb 100644
--- a/moses/BitmapContainer.cpp
+++ b/moses/BitmapContainer.cpp
@@ -211,7 +211,8 @@ Hypothesis *BackwardsEdge::CreateHypothesis(const Hypothesis &hypothesis, const
IFVERBOSE(2) {
hypothesis.GetManager().GetSentenceStats().StartTimeBuildHyp();
}
- Hypothesis *newHypo = new Hypothesis(hypothesis, transOpt);
+ const WordsBitmap &bitmap = m_parent.GetWordsBitmap();
+ Hypothesis *newHypo = new Hypothesis(hypothesis, transOpt, bitmap);
IFVERBOSE(2) {
hypothesis.GetManager().GetSentenceStats().StopTimeBuildHyp();
}