#ifndef _TER_H_ #define _TER_H_ #include "scorer.h" class TERScorerImpl; class TERScorer : public SentenceScorer { public: TERScorer(const std::vector >& references); ~TERScorer(); Score* ScoreCandidate(const std::vector& hyp) const; Score* ScoreCCandidate(const std::vector& hyp) const; static Score* ScoreFromString(const std::string& data); private: std::vector impl_; }; #endif