diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-10 03:56:40 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-10 03:56:40 +0400 |
commit | 79ec2cf2a83ffbe744afb10b78fc613a58a8a5e5 (patch) | |
tree | f07b03b8fee3b90a9bc51065fc9e4240f4a8936b /moses-cmd | |
parent | 0a00edc22053d3850fade8ab779981029301776d (diff) |
Debugging
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@27 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rwxr-xr-x | moses-cmd/src/IOCommandLine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/moses-cmd/src/IOCommandLine.cpp b/moses-cmd/src/IOCommandLine.cpp index b7e6b9521..35cb3d3ff 100755 --- a/moses-cmd/src/IOCommandLine.cpp +++ b/moses-cmd/src/IOCommandLine.cpp @@ -97,6 +97,12 @@ void IOCommandLine::SetOutput(const Hypothesis *hypo, long translationId) { TRACE_ERR("BEST HYPO: " << *hypo << endl); OutputSurface(cout, hypo); + + while (hypo != NULL) + { + TRACE_ERR(*hypo << endl); + hypo = hypo->GetPrevHypo(); + } } else TRACE_ERR("NO BEST HYPO" << endl); |