mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
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:
parent
5824f387f4
commit
78e1a8830d
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user