diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-30 23:23:45 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-30 23:23:45 +0400 |
commit | e3dd3a8d2c72f5f1d60b4ec12a628f319a1f1906 (patch) | |
tree | 46544c1e642100fd4f0367d0b2b9786e9cdac676 /mert/CderScorer.cpp | |
parent | 1cf1c2e51561bac3b3ca0b7e5b63fb93f978a064 (diff) |
namespace all classes in mert directory
Diffstat (limited to 'mert/CderScorer.cpp')
-rw-r--r-- | mert/CderScorer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mert/CderScorer.cpp b/mert/CderScorer.cpp index 8a835f17d..cece29034 100644 --- a/mert/CderScorer.cpp +++ b/mert/CderScorer.cpp @@ -14,6 +14,10 @@ inline int CalcDistance(int word1, int word2) { } // namespace +namespace MosesTuning +{ + + CderScorer::CderScorer(const string& config, bool allowed_long_jumps) : StatisticsBasedScorer(allowed_long_jumps ? "CDER" : "WER", config), m_allowed_long_jumps(allowed_long_jumps) {} @@ -124,3 +128,5 @@ void CderScorer::computeCD(const sent_t& cand, const sent_t& ref, delete row; } + +} |