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>2014-06-06 23:35:58 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-06-06 23:35:58 +0400
commit747661ba3e01855992a49173da80632285160c4a (patch)
treeb3263391f4e62a12755d68f7c38d30ebb3dfa317 /moses/ScoreComponentCollection.h
parent0114766b54f0a77f6008c51363556404d91b68b6 (diff)
sparse features in on-disk-pt
Diffstat (limited to 'moses/ScoreComponentCollection.h')
-rw-r--r--moses/ScoreComponentCollection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ScoreComponentCollection.h b/moses/ScoreComponentCollection.h
index 68287296f..743be354c 100644
--- a/moses/ScoreComponentCollection.h
+++ b/moses/ScoreComponentCollection.h
@@ -287,7 +287,7 @@ public:
//Read sparse features from string
- void Assign(const FeatureFunction* sp, const std::string line);
+ void Assign(const FeatureFunction* sp, const std::string &line);
// shortcut: setting the value directly using the feature name
void Assign(const std::string name, float score) {