mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-20 07:42:21 +03:00
debug
This commit is contained in:
parent
1e2cfd5526
commit
b5c38e916c
@ -88,22 +88,7 @@ void Manager::Decode()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Stack &stack = m_stacks.GetStack(4, 5);
|
//m_stacks.OutputStacks();
|
||||||
cerr << "stack=" << stack.Debug(system) << endl;
|
|
||||||
|
|
||||||
Stack &stack2 = m_stacks.GetStack(9, 2);
|
|
||||||
cerr << "stack2=" << stack2.Debug(system) << endl;
|
|
||||||
|
|
||||||
Stack &stack3 = m_stacks.GetStack(0, 9);
|
|
||||||
cerr << "stack3=" << stack3.Debug(system) << endl;
|
|
||||||
|
|
||||||
Stack &stack4 = m_stacks.GetStack(0, 11);
|
|
||||||
cerr << "stack4=" << stack4.Debug(system) << endl;
|
|
||||||
|
|
||||||
Stack &stack5 = m_stacks.GetStack(0, 12);
|
|
||||||
cerr << "stack5=" << stack5.Debug(system) << endl;
|
|
||||||
|
|
||||||
m_stacks.OutputStacks();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Manager::InitActiveChart(SCFG::InputPath &path)
|
void Manager::InitActiveChart(SCFG::InputPath &path)
|
||||||
|
@ -242,10 +242,12 @@ void PhraseTableMemory::LookupGivenNode(
|
|||||||
const SCFG::TargetPhrases *tps = nextNode->GetTargetPhrases();
|
const SCFG::TargetPhrases *tps = nextNode->GetTargetPhrases();
|
||||||
if (tps) {
|
if (tps) {
|
||||||
// there are some rules
|
// there are some rules
|
||||||
|
/*
|
||||||
cerr << "outPath=" << outPath.range
|
cerr << "outPath=" << outPath.range
|
||||||
<< " bind=" << chartEntry->GetSymbolBind().Debug(mgr.system)
|
<< " bind=" << chartEntry->GetSymbolBind().Debug(mgr.system)
|
||||||
<< " pt=" << GetPtInd()
|
<< " pt=" << GetPtInd()
|
||||||
<< " tps=" << tps->Debug(mgr.system) << endl;
|
<< " tps=" << tps->Debug(mgr.system) << endl;
|
||||||
|
*/
|
||||||
outPath.AddTargetPhrasesToPath(pool, *this, *tps, chartEntry->GetSymbolBind());
|
outPath.AddTargetPhrasesToPath(pool, *this, *tps, chartEntry->GetSymbolBind());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user