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-23 21:55:59 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-23 21:55:59 +0400
commit4466d33df672dc6fc4d4c813ae4af76a40d02bb4 (patch)
tree591e6efdf5b17a0221311e6c4065e187e0c49325 /moses/ScoreComponentCollection.h
parentdef03041b7f6ad54f39d9695cedaffceb24ced96 (diff)
delete unused function
Diffstat (limited to 'moses/ScoreComponentCollection.h')
-rw-r--r--moses/ScoreComponentCollection.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/moses/ScoreComponentCollection.h b/moses/ScoreComponentCollection.h
index 0884e82bc..9854151ed 100644
--- a/moses/ScoreComponentCollection.h
+++ b/moses/ScoreComponentCollection.h
@@ -237,13 +237,6 @@ public:
}
//For features which have an unbounded number of components
- void PlusEquals(const FeatureFunction*sp, const std::string& name, float score)
- {
- FName fname(sp->GetScoreProducerDescription(),name);
- m_scores[fname] += score;
- }
-
- //For features which have an unbounded number of components
void PlusEquals(const FeatureFunction*sp, const StringPiece& name, float score)
{
FName fname(sp->GetScoreProducerDescription(),name);