commented out BackTrack

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@128 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2006-07-14 23:11:08 +00:00
parent 5824f387f4
commit 78e1a8830d

View File

@ -95,7 +95,7 @@ void OutputSurface(std::ostream &out, const Hypothesis *hypo)
void IOCommandLine::Backtrack(const Hypothesis *hypo){ void IOCommandLine::Backtrack(const Hypothesis *hypo){
if (hypo->m_id != 0) { if (hypo->m_id != 0) {
TRACE_ERR("["<< hypo ->m_id<<" => "<<hypo->GetPrevHypo()->m_id<<"]" <<endl); //TRACE_ERR("["<< hypo ->m_id<<" => "<<hypo->GetPrevHypo()->m_id<<"]" <<endl);
Backtrack(hypo->GetPrevHypo()); Backtrack(hypo->GetPrevHypo());
} }
} }
@ -105,9 +105,9 @@ void IOCommandLine::SetOutput(const Hypothesis *hypo, long translationId)
if (hypo != NULL) if (hypo != NULL)
{ {
TRACE_ERR("BEST HYPO: " << *hypo << endl); TRACE_ERR("BEST HYPO: " << *hypo << endl);
Backtrack(hypo); //Backtrack(hypo);
OutputSurface(cout, hypo); OutputSurface(cout, hypo);
} }
else else
{ {