From b79870642f5521e37aaaec87283eceea8a36dbea Mon Sep 17 00:00:00 2001 From: graehl Date: Mon, 19 Jul 2010 03:59:31 +0000 Subject: vest generate --verbose git-svn-id: https://ws10smt.googlecode.com/svn/trunk@315 ec762483-ff6d-05da-a07a-a48fb63a330f --- vest/scorer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vest/scorer.h') diff --git a/vest/scorer.h b/vest/scorer.h index 5bfeee0f..9c8aebcc 100644 --- a/vest/scorer.h +++ b/vest/scorer.h @@ -20,6 +20,11 @@ class Score { virtual float ComputeScore() const = 0; virtual float ComputePartialScore() const =0; virtual void ScoreDetails(std::string* details) const = 0; + std::string ScoreDetails() { + std::string d; + ScoreDetails(&d); + return d; + } virtual void PlusEquals(const Score& rhs, const float scale) = 0; virtual void PlusEquals(const Score& rhs) = 0; virtual void PlusPartialEquals(const Score& rhs, int oracle_e_cover, int oracle_f_cover, int src_len) = 0; -- cgit v1.2.3