Fixed CderScorer name bug

This commit is contained in:
Matous Machacek 2012-05-15 00:35:08 +02:00
parent d3f6c965a8
commit 7da028e240

View File

@ -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() {}