diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 03:10:07 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 03:29:15 +0300 |
commit | 900c1222d5bbefa178a70aabbda421f898eb44c2 (patch) | |
tree | 53fe4092f0971b888124cd075d3ca6791f30ca16 /moses/SearchNormal.cpp | |
parent | 20a3977e8feb7b00097fb5e237d5e8cc83c03d83 (diff) |
change GetSystem() -> system
Diffstat (limited to 'moses/SearchNormal.cpp')
-rw-r--r-- | moses/SearchNormal.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/SearchNormal.cpp b/moses/SearchNormal.cpp index 2155a6e98..a0a0be75f 100644 --- a/moses/SearchNormal.cpp +++ b/moses/SearchNormal.cpp @@ -253,7 +253,9 @@ ExpandAllHypotheses(const Hypothesis &hypothesis, size_t startPos, size_t endPos const Bitmap &sourceCompleted = hypothesis.GetWordsBitmap(); float futureScore = m_transOptColl.GetFutureScore().CalcFutureScore2( sourceCompleted, startPos, endPos ); - cerr << "DOING " << sourceCompleted << " [" << startPos << " " << endPos << "]" << endl; + const Range &hypoRange = hypothesis.GetCurrSourceWordsRange(); + cerr << "DOING " << sourceCompleted << " [" << hypoRange.GetStartPos() << " " << hypoRange.GetEndPos() << "]" + " [" << startPos << " " << endPos << "]" << endl; if (m_options.search.UseEarlyDiscarding()) { // expected score is based on score of current hypothesis |