From 7da028e2402e98402fd1e8c1436e6228ab39d471 Mon Sep 17 00:00:00 2001 From: Matous Machacek Date: Tue, 15 May 2012 00:35:08 +0200 Subject: [PATCH] Fixed CderScorer name bug --- mert/CderScorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mert/CderScorer.cpp b/mert/CderScorer.cpp index 3318f27e0..8a835f17d 100644 --- a/mert/CderScorer.cpp +++ b/mert/CderScorer.cpp @@ -15,7 +15,7 @@ inline int CalcDistance(int word1, int word2) { } // namespace CderScorer::CderScorer(const string& config, bool allowed_long_jumps) - : StatisticsBasedScorer("CDER", config), + : StatisticsBasedScorer(allowed_long_jumps ? "CDER" : "WER", config), m_allowed_long_jumps(allowed_long_jumps) {} CderScorer::~CderScorer() {}