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:
authorHieu Hoang <fishandfrolick@gmail.com>2012-06-30 23:23:45 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-06-30 23:23:45 +0400
commite3dd3a8d2c72f5f1d60b4ec12a628f319a1f1906 (patch)
tree46544c1e642100fd4f0367d0b2b9786e9cdac676 /mert/BleuScorer.h
parent1cf1c2e51561bac3b3ca0b7e5b63fb93f978a064 (diff)
namespace all classes in mert directory
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r--mert/BleuScorer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h
index 8e0acf366..38669b740 100644
--- a/mert/BleuScorer.h
+++ b/mert/BleuScorer.h
@@ -10,10 +10,13 @@
#include "StatisticsBasedScorer.h"
#include "ScopedVector.h"
+namespace MosesTuning
+{
+
const int kBleuNgramOrder = 4;
class NgramCounts;
-class Reference;
+class Reference;
/**
* Bleu scoring
@@ -80,4 +83,6 @@ float sentenceLevelBackgroundBleu(const std::vector<float>& sent, const std::vec
*/
float unsmoothedBleu(const std::vector<float>& stats);
+}
+
#endif // MERT_BLEU_SCORER_H_