mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
Fixed CderScorer name bug
This commit is contained in:
parent
d3f6c965a8
commit
7da028e240
@ -15,7 +15,7 @@ inline int CalcDistance(int word1, int word2) {
|
|||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
CderScorer::CderScorer(const string& config, bool allowed_long_jumps)
|
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) {}
|
m_allowed_long_jumps(allowed_long_jumps) {}
|
||||||
|
|
||||||
CderScorer::~CderScorer() {}
|
CderScorer::~CderScorer() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user