From 904130a611019d3ecb7878e21035f6915b4b5702 Mon Sep 17 00:00:00 2001 From: graehl Date: Mon, 19 Jul 2010 22:51:33 +0000 Subject: shared_ptr for scores. todo: intrusive. git-svn-id: https://ws10smt.googlecode.com/svn/trunk@327 ec762483-ff6d-05da-a07a-a48fb63a330f --- vest/ter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vest/ter.h') diff --git a/vest/ter.h b/vest/ter.h index 21007874..43314791 100644 --- a/vest/ter.h +++ b/vest/ter.h @@ -9,9 +9,9 @@ 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); + 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_; }; -- cgit v1.2.3