diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 05:40:54 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 05:40:54 +0400 |
commit | 00b8c6d76895fb90ef4c8679f9337dafe9633019 (patch) | |
tree | 552e859979594c1f5a10a4b0bbf217d753656f4f /mert/TerScorer.h | |
parent | 1ec58e7edf3ee39eddc427a3498b28e0f0577db4 (diff) |
Use const Scorer::calculateScore().
Diffstat (limited to 'mert/TerScorer.h')
-rw-r--r-- | mert/TerScorer.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mert/TerScorer.h b/mert/TerScorer.h index d21e36881..fb134a8de 100644 --- a/mert/TerScorer.h +++ b/mert/TerScorer.h @@ -43,10 +43,7 @@ public: return (kLENGTH + 1); } - -//protected: - float calculateScore(const vector<int>& comps); -// float calculateScore(const vector<float>& comps); + virtual float calculateScore(const vector<int>& comps) const; private: const int kLENGTH; |