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:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 07:13:35 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 07:13:35 +0400
commitfdcd148cac32bca8993e5e8b10e56f86f5f7e522 (patch)
tree40511e2cd52a181613842d516be7e664bcecd733 /mert/ScoreArray.cpp
parent03abf54d2112ece58981ee8f96c23008b95d6def (diff)
Replace macros with const char arrays used in XXXArray classes.
Diffstat (limited to 'mert/ScoreArray.cpp')
-rw-r--r--mert/ScoreArray.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/mert/ScoreArray.cpp b/mert/ScoreArray.cpp
index 9e74b6faa..62cd1ff26 100644
--- a/mert/ScoreArray.cpp
+++ b/mert/ScoreArray.cpp
@@ -11,6 +11,13 @@
#include "Util.h"
#include "FileStream.h"
+namespace {
+const char SCORES_TXT_BEGIN[] = "SCORES_TXT_BEGIN_0";
+const char SCORES_TXT_END[] = "SCORES_TXT_END_0";
+const char SCORES_BIN_BEGIN[] = "SCORES_BIN_BEGIN_0";
+const char SCORES_BIN_END[] = "SCORES_BIN_END_0";
+} // namespace
+
ScoreArray::ScoreArray() : idx("") {}
void ScoreArray::savetxt(std::ofstream& outFile, const std::string& sctype)