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
path: root/moses
diff options
context:
space:
mode:
authorMatthias Huck <huck@i6.informatik.rwth-aachen.de>2015-02-10 06:12:02 +0300
committerMatthias Huck <huck@i6.informatik.rwth-aachen.de>2015-02-10 06:12:02 +0300
commit0de206f359f0f7d528ab4bc68a991bdf533ed1b8 (patch)
tree66e76cef1a1a3448c5def33cab83e3af127a46ff /moses
parentce80e53b30f766ab85cb58c4a2d06742b4a4f38b (diff)
fixing a bug from commit 70e8eb5
Diffstat (limited to 'moses')
-rw-r--r--moses/Parameter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Parameter.cpp b/moses/Parameter.cpp
index c5677b73b..6052624cc 100644
--- a/moses/Parameter.cpp
+++ b/moses/Parameter.cpp
@@ -978,7 +978,7 @@ void Parameter::WeightOverwrite()
for (size_t i = 0; i < toks.size(); ++i) {
const string &tok = toks[i];
- if (starts_with(tok, "=")) {
+ if (ends_with(tok, "=")) {
// start of new feature
if (name != "") {