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 <fishandfrolick@gmail.com>2012-12-19 20:51:55 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-12-19 20:51:55 +0400
commit781592fa462280b604aa6a1a545fab8583bdee57 (patch)
tree9ea190d9d242d5c48d591acb0bd112be1e8d3902 /moses/BitmapContainer.cpp
parent0f473ca96055919222c64b14edfa92d4055ca7b2 (diff)
move DistortionScoreProducer from TranslationSystem back to StaticData
Diffstat (limited to 'moses/BitmapContainer.cpp')
-rw-r--r--moses/BitmapContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/BitmapContainer.cpp b/moses/BitmapContainer.cpp
index 1baa06096..4dd63141f 100644
--- a/moses/BitmapContainer.cpp
+++ b/moses/BitmapContainer.cpp
@@ -61,8 +61,8 @@ public:
bool operator()(const Hypothesis* hypoA, const Hypothesis* hypoB) const {
CHECK(m_transOptRange != NULL);
- const float weightDistortion = m_system->GetWeightDistortion();
- const DistortionScoreProducer *dsp = m_system->GetDistortionProducer();
+ const float weightDistortion = StaticData::Instance().GetWeightDistortion();
+ const DistortionScoreProducer *dsp = StaticData::Instance().GetDistortionProducer();
const float distortionScoreA = dsp->CalculateDistortionScore(
*hypoA,
hypoA->GetCurrSourceWordsRange(),