summaryrefslogtreecommitdiff
path: root/vest/scorer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'vest/scorer.cc')
-rw-r--r--vest/scorer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vest/scorer.cc b/vest/scorer.cc
index 05269a3b..5671de38 100644
--- a/vest/scorer.cc
+++ b/vest/scorer.cc
@@ -87,7 +87,7 @@ float SentenceScorer::ComputeRefLength(const Sentence &hyp) const {
const std::string* SentenceScorer::GetSource() const { return NULL; }
-class SERScore : public Score {
+class SERScore : public ScoreBase<SERScore> {
friend class SERScorer;
public:
SERScore() : correct(0), total(0) {}
@@ -151,7 +151,7 @@ class SERScorer : public SentenceScorer {
vector<vector<WordID> > refs_;
};
-class BLEUScore : public Score {
+class BLEUScore : public ScoreBase<BLEUScore> {
friend class BLEUScorerBase;
public:
BLEUScore(int n) : correct_ngram_hit_counts(float(0),n), hyp_ngram_counts(float(0),n) {