Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-15 03:11:08 +0400
committerhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-15 03:11:08 +0400
commit78e1a8830dd240fade52d93c0a8f9297bb0b4002 (patch)
treecc10e4e0702038903a62dbde4b56b5c404a81462 /moses-cmd
parent5824f387f40bfa6cc1e5b54fae22a1c3afc67625 (diff)
commented out BackTrack
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@128 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rwxr-xr-xmoses-cmd/src/IOCommandLine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses-cmd/src/IOCommandLine.cpp b/moses-cmd/src/IOCommandLine.cpp
index 8546a3f7e..41296d458 100755
--- a/moses-cmd/src/IOCommandLine.cpp
+++ b/moses-cmd/src/IOCommandLine.cpp
@@ -95,7 +95,7 @@ void OutputSurface(std::ostream &out, const Hypothesis *hypo)
void IOCommandLine::Backtrack(const Hypothesis *hypo){
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());
}
}
@@ -105,9 +105,9 @@ void IOCommandLine::SetOutput(const Hypothesis *hypo, long translationId)
if (hypo != NULL)
{
TRACE_ERR("BEST HYPO: " << *hypo << endl);
- Backtrack(hypo);
+ //Backtrack(hypo);
- OutputSurface(cout, hypo);
+ OutputSurface(cout, hypo);
}
else
{