diff options
Diffstat (limited to 'moses/src/TranslationSystem.cpp')
-rw-r--r--[-rwxr-xr-x] | moses/src/TranslationSystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/src/TranslationSystem.cpp b/moses/src/TranslationSystem.cpp index 722ea864e..e017ba241 100755..100644 --- a/moses/src/TranslationSystem.cpp +++ b/moses/src/TranslationSystem.cpp @@ -175,8 +175,8 @@ namespace Moses { return StaticData::Instance().GetWeight(m_distortionScoreProducer); } - std::vector<float> TranslationSystem::GetTranslationWeights() const { - std::vector<float> weights = StaticData::Instance().GetWeights(GetTranslationScoreProducer()); + std::vector<float> TranslationSystem::GetTranslationWeights(size_t index) const { + std::vector<float> weights = StaticData::Instance().GetWeights(GetTranslationScoreProducer(index)); //VERBOSE(1, "Read weightT from translation sytem.. "); for (size_t i = 0; i < weights.size(); ++i) //VERBOSE(1, weights[i] << " "); |