diff options
Diffstat (limited to 'vest/comb_scorer.h')
-rw-r--r-- | vest/comb_scorer.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/vest/comb_scorer.h b/vest/comb_scorer.h index 1a4f3324..346be576 100644 --- a/vest/comb_scorer.h +++ b/vest/comb_scorer.h @@ -7,12 +7,11 @@ class BLEUTERCombinationScorer : public SentenceScorer { public: BLEUTERCombinationScorer(const std::vector<std::vector<WordID> >& refs); ~BLEUTERCombinationScorer(); - Score* ScoreCandidate(const std::vector<WordID>& hyp) const; - Score* ScoreCCandidate(const std::vector<WordID>& hyp) const; - static Score* ScoreFromString(const std::string& in); + ScoreP ScoreCandidate(const std::vector<WordID>& hyp) const; + ScoreP ScoreCCandidate(const std::vector<WordID>& hyp) const; + static ScoreP ScoreFromString(const std::string& in); private: - SentenceScorer* bleu_; - SentenceScorer* ter_; + ScorerP bleu_,ter_; }; #endif |