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:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 03:58:23 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 03:58:23 +0400
commit68315d6407f55ff98b3b3bf89dc725d2ccad8019 (patch)
tree6d4e95512f522e857d39e8f796dcf4dbfee003d8 /mert/BleuScorer.h
parent4f6d022fe7fa6c8e3279de2221a24f11afd8f8ba (diff)
Fix class, function, and implementation comments format.
Functions comments should be placed in their declarations.
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r--mert/BleuScorer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h
index 4c0e62e6b..07868c68a 100644
--- a/mert/BleuScorer.h
+++ b/mert/BleuScorer.h
@@ -22,8 +22,8 @@ enum BleuReferenceLengthStrategy { BLEU_AVERAGE, BLEU_SHORTEST, BLEU_CLOSEST };
/**
- * Bleu scoring
- **/
+ * Bleu scoring
+ */
class BleuScorer: public StatisticsBasedScorer
{
public:
@@ -91,6 +91,9 @@ private:
typedef ScopedVector<counts_t> refcounts_t;
+ /**
+ * Count the ngrams of each type, up to the given length in the input line.
+ */
size_t countNgrams(const string& line, counts_t& counts, unsigned int n);
void dump_counts(counts_t& counts) {