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