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-05-21 16:00:26 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-21 16:00:26 +0400
commitf4cf5f152b3c3736236a99ff66a6b8148d81e745 (patch)
treeb4373cfa1cadecf9b2de7dbe5037a0ba8a34a964 /moses/ScoreComponentCollection.cpp
parent42ddc084b4b6bff7697d48f4a879a7d93e3bb923 (diff)
delete references to LMList
Diffstat (limited to 'moses/ScoreComponentCollection.cpp')
-rw-r--r--moses/ScoreComponentCollection.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/moses/ScoreComponentCollection.cpp b/moses/ScoreComponentCollection.cpp
index b1b171465..c836ea5b3 100644
--- a/moses/ScoreComponentCollection.cpp
+++ b/moses/ScoreComponentCollection.cpp
@@ -32,20 +32,6 @@ float ScoreComponentCollection::GetWeightedScore() const
return m_scores.inner_product(StaticData::Instance().GetAllWeights().m_scores);
}
-void ScoreComponentCollection::ZeroAllLM(const LMList& lmList)
-{
- for (LMList::const_iterator i = lmList.begin(); i != lmList.end(); ++i) {
- Assign(*i, 0);
- }
-}
-
-void ScoreComponentCollection::PlusEqualsAllLM(const LMList& lmList, const ScoreComponentCollection& rhs)
-{
- for (LMList::const_iterator i = lmList.begin(); i != lmList.end(); ++i) {
- PlusEquals(*i,rhs);
- }
-}
-
void ScoreComponentCollection::MultiplyEquals(float scalar)
{
m_scores *= scalar;