Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-07-11 19:19:38 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-11 19:19:38 +0400
commit7ec09ca24fcdcce1c42335c1e645731da491b1de (patch)
treeda284fcbe66558b43a9d7c010c9f10adbb8e1ca5 /moses/TranslationOption.h
parenta3a652bf6246ef26ae6f9a9ef1f696e19b7250bd (diff)
call legacy code for confusion network input with binary pt
Diffstat (limited to 'moses/TranslationOption.h')
-rw-r--r--moses/TranslationOption.h4
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 */