mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
fix n-best label for word penalty
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4209 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
c55b03dd66
commit
661544109c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user