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 05:40:54 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 05:40:54 +0400
commit00b8c6d76895fb90ef4c8679f9337dafe9633019 (patch)
tree552e859979594c1f5a10a4b0bbf217d753656f4f /mert/TerScorer.h
parent1ec58e7edf3ee39eddc427a3498b28e0f0577db4 (diff)
Use const Scorer::calculateScore().
Diffstat (limited to 'mert/TerScorer.h')
-rw-r--r--mert/TerScorer.h5
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;