summaryrefslogtreecommitdiff
path: root/vest/ter.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-19 22:51:33 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-19 22:51:33 +0000
commit904130a611019d3ecb7878e21035f6915b4b5702 (patch)
tree34d4e44d8cc1edb83f0e5ee4021c5c8e11d2de0f /vest/ter.h
parenta0206fd7c45da0b31501713ac65834f69745b696 (diff)
shared_ptr for scores. todo: intrusive.
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@327 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest/ter.h')
-rw-r--r--vest/ter.h6
1 files changed, 3 insertions, 3 deletions
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<std::vector<WordID> >& references);
~TERScorer();
- Score* ScoreCandidate(const std::vector<WordID>& hyp) const;
- Score* ScoreCCandidate(const std::vector<WordID>& hyp) const;
- static Score* ScoreFromString(const std::string& data);
+ ScoreP ScoreCandidate(const std::vector<WordID>& hyp) const;
+ ScoreP ScoreCCandidate(const std::vector<WordID>& hyp) const;
+ static ScoreP ScoreFromString(const std::string& data);
private:
std::vector<TERScorerImpl*> impl_;
};