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/misc
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-12-24 03:43:57 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-12-24 03:43:57 +0300
commitcdda77d3022eb4948f10daecae1d685acc517963 (patch)
tree88be973bc945d4f8289b4c10a32bf090f5873dd4 /misc
parent0e4d5074c7c79a14286e39f734d210921277f95b (diff)
bug creating extra column
Diffstat (limited to 'misc')
-rw-r--r--misc/addLexROtoPT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/addLexROtoPT.cpp b/misc/addLexROtoPT.cpp
index 8d9bde68a..d0eb54ec4 100644
--- a/misc/addLexROtoPT.cpp
+++ b/misc/addLexROtoPT.cpp
@@ -145,10 +145,10 @@ int main(int argc, char** argv)
}
columns[6] += "{{LexRO ";
for (size_t i = 0; i < scores.size() - 1; ++i) {
- columns[6] += scores[i];
+ columns[6] += Moses::SPrint(scores[i]);
columns[6] += " ";
}
- columns[6] += scores[scores.size() - 1];
+ columns[6] += Moses::SPrint(scores[scores.size() - 1]);
columns[6] += "}}";
}