diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-01 15:54:20 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-01 15:54:20 +0400 |
commit | b19e7777ce82bdadee894ae7989b171764172c81 (patch) | |
tree | e3c04d3abee30e90737e4fc752258402feb1ddce /mert/BleuScorer.h | |
parent | 33cea0f1dc4a249146020a0e2e07d6180ce92d69 (diff) |
Add prefix 'm_' to private and protected members in Scorer classes.
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r-- | mert/BleuScorer.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h index f4d568639..5f105add2 100644 --- a/mert/BleuScorer.h +++ b/mert/BleuScorer.h @@ -60,7 +60,6 @@ private: typedef map<vector<int>,int,CompareNgrams> counts_t; typedef map<vector<int>,int,CompareNgrams>::iterator counts_iterator; typedef map<vector<int>,int,CompareNgrams>::const_iterator counts_const_iterator; - typedef ScopedVector<counts_t> refcounts_t; /** * Count the ngrams of each type, up to the given length in the input line. @@ -73,8 +72,8 @@ private: ReferenceLengthType m_ref_length_type; // data extracted from reference files - refcounts_t _refcounts; - vector<vector<size_t> > _reflengths; + ScopedVector<counts_t> m_ref_counts; + vector<vector<size_t> > m_ref_lengths; // no copying allowed BleuScorer(const BleuScorer&); |