blob: 70b1ec75f8dd69acd56caeb58d1950033c727144 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef _COMB_SCORER_
#define _COMB_SCORER_
#include "scorer.h"
class BLEUTERCombinationScorer : public SentenceScorer {
public:
BLEUTERCombinationScorer(const std::vector<std::vector<WordID> >& refs);
~BLEUTERCombinationScorer();
Score* ScoreCandidate(const std::vector<WordID>& hyp) const;
static Score* ScoreFromString(const std::string& in);
private:
SentenceScorer* bleu_;
SentenceScorer* ter_;
};
#endif
|