diff options
author | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-02-23 13:27:54 +0300 |
---|---|---|
committer | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-02-23 13:27:54 +0300 |
commit | 4c11bcd6174d2745b521491909dd5e4242c9ff60 (patch) | |
tree | cf051ea55ca881b4e78fc03ca077d08ef4236463 /moses-cmd | |
parent | 06df9d1770efaeeb47d31af46ee2dc057a872bcd (diff) |
extensions to phrase table scoring options
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3893 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rwxr-xr-x | moses-cmd/src/IOWrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/moses-cmd/src/IOWrapper.cpp b/moses-cmd/src/IOWrapper.cpp index 3cadb6dd6..2b8263bfa 100755 --- a/moses-cmd/src/IOWrapper.cpp +++ b/moses-cmd/src/IOWrapper.cpp @@ -276,6 +276,7 @@ void OutputSurface(std::ostream &out, const Hypothesis *hypo, const std::vector< OutputSurface(out, hypo->GetPrevHypo(), outputFactorOrder, reportSegmentation, reportAllFactors); OutputSurface(out, hypo->GetCurrTargetPhrase(), outputFactorOrder, reportAllFactors); + // trace option "-t" if (reportSegmentation == true && hypo->GetCurrTargetPhrase().GetSize() > 0) { out << "|" << hypo->GetCurrSourceWordsRange().GetStartPos() |