diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-11 19:19:38 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-11 19:19:38 +0400 |
commit | 7ec09ca24fcdcce1c42335c1e645731da491b1de (patch) | |
tree | da284fcbe66558b43a9d7c010c9f10adbb8e1ca5 /moses/TranslationOption.h | |
parent | a3a652bf6246ef26ae6f9a9ef1f696e19b7250bd (diff) |
call legacy code for confusion network input with binary pt
Diffstat (limited to 'moses/TranslationOption.h')
-rw-r--r-- | moses/TranslationOption.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/TranslationOption.h b/moses/TranslationOption.h index b1de31eb1..6e511a9e2 100644 --- a/moses/TranslationOption.h +++ b/moses/TranslationOption.h @@ -132,6 +132,10 @@ public: return m_targetPhrase.GetScoreBreakdown(); } + inline ScoreComponentCollection &GetScoreBreakdown() { + return m_targetPhrase.GetScoreBreakdown(); + } + void Evaluate(const InputType &source); /** returns cached scores */ |