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:
authorphikoehn <pkoehn@inf.ed.ac.uk>2013-10-14 01:05:07 +0400
committerphikoehn <pkoehn@inf.ed.ac.uk>2013-10-14 01:05:07 +0400
commitecc30bcfe26613d743c95d6f4e53dccf909c4cc4 (patch)
treede61a7046e2c4915c1b725b89c12cc1ffd058293 /moses-cmd
parente6257ddc434788fc4a739f0434a0ac2405de799c (diff)
also report lm scores, and matched n-gram length (thanks Ken!)
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/IOWrapper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses-cmd/IOWrapper.cpp b/moses-cmd/IOWrapper.cpp
index 04a7808aa..3e983e3a5 100644
--- a/moses-cmd/IOWrapper.cpp
+++ b/moses-cmd/IOWrapper.cpp
@@ -277,8 +277,7 @@ void OutputSurface(std::ostream &out, const Hypothesis &edge, const std::vector<
out << ",";
ScoreComponentCollection scoreBreakdown(edge.GetScoreBreakdown());
scoreBreakdown.MinusEquals(edge.GetPrevHypo()->GetScoreBreakdown());
- out << scoreBreakdown;
-
+ OutputAllFeatureScores(scoreBreakdown, out);
}
out << "| ";
}