diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-09-09 19:27:54 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-09-09 19:27:54 +0400 |
commit | 661544109cdc0f29907b11beb7bb8b31e2160a7f (patch) | |
tree | 61c6f3fa8766efc4e89a89fce7455ea0286623c1 /moses-chart-cmd/src | |
parent | c55b03dd66a3fbe1e72986190cac6dc5a80d742b (diff) |
fix n-best label for word penalty
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4209 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-chart-cmd/src')
-rw-r--r-- | moses-chart-cmd/src/IOWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses-chart-cmd/src/IOWrapper.cpp b/moses-chart-cmd/src/IOWrapper.cpp index 7f246205a..c52eea3df 100644 --- a/moses-chart-cmd/src/IOWrapper.cpp +++ b/moses-chart-cmd/src/IOWrapper.cpp @@ -384,7 +384,7 @@ void IOWrapper::OutputNBestList(const ChartTrellisPathList &nBestList, const Cha // word penalty if (labeledOutput) - out << "w: "; + out << " w: "; out << path.GetScoreBreakdown().GetScoreForProducer(system->GetWordPenaltyProducer()) << " "; // generation |