summaryrefslogtreecommitdiff
path: root/mteval/comb_scorer.h
blob: d17d089d25390457cbb78230337128170174cb7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef COMB_SCORER_H_
#define COMB_SCORER_H_

#include "scorer.h"

class BLEUTERCombinationScorer : public SentenceScorer {
 public:
  BLEUTERCombinationScorer(const std::vector<std::vector<WordID> >& refs);
  ~BLEUTERCombinationScorer();
  ScoreP ScoreCandidate(const std::vector<WordID>& hyp) const;
  ScoreP ScoreCCandidate(const std::vector<WordID>& hyp) const;
  static ScoreP ScoreFromString(const std::string& in);
 private:
  ScorerP bleu_,ter_;
};

#endif