This commit is contained in:
Hieu Hoang 2016-08-15 18:28:03 +01:00
parent 1e2cfd5526
commit b5c38e916c
2 changed files with 3 additions and 16 deletions

View File

@ -88,22 +88,7 @@ void Manager::Decode()
}
}
Stack &stack = m_stacks.GetStack(4, 5);
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();
//m_stacks.OutputStacks();
}
void Manager::InitActiveChart(SCFG::InputPath &path)

View File

@ -242,10 +242,12 @@ void PhraseTableMemory::LookupGivenNode(
const SCFG::TargetPhrases *tps = nextNode->GetTargetPhrases();
if (tps) {
// there are some rules
/*
cerr << "outPath=" << outPath.range
<< " bind=" << chartEntry->GetSymbolBind().Debug(mgr.system)
<< " pt=" << GetPtInd()
<< " tps=" << tps->Debug(mgr.system) << endl;
*/
outPath.AddTargetPhrasesToPath(pool, *this, *tps, chartEntry->GetSymbolBind());
}