mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
debug message
This commit is contained in:
parent
d626244a9c
commit
20a3977e8f
@ -133,6 +133,8 @@ void SearchNormal::Extend(const Hypothesis &hypo, const InputPath &path)
|
||||
// extend this hypo
|
||||
const Moses::Bitmap &newBitmap = m_mgr.GetBitmaps().GetBitmap(bitmap, pathRange);
|
||||
|
||||
cerr << "DOING " << bitmap << " [" << pathRange.GetStartPos() << " " << pathRange.GetEndPos() << "]" << endl;
|
||||
|
||||
const std::vector<TargetPhrases::shared_const_ptr> &tpsAllPt = path.targetPhrases;
|
||||
|
||||
for (size_t i = 0; i < tpsAllPt.size(); ++i) {
|
||||
|
@ -253,6 +253,8 @@ 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;
|
||||
|
||||
if (m_options.search.UseEarlyDiscarding()) {
|
||||
// expected score is based on score of current hypothesis
|
||||
expectedScore = hypothesis.GetScore();
|
||||
|
Loading…
Reference in New Issue
Block a user