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:
authorRico Sennrich <rico.sennrich@gmx.ch>2014-09-16 14:12:14 +0400
committerRico Sennrich <rico.sennrich@gmx.ch>2014-09-22 13:49:20 +0400
commitf40bb2c53c2dcd832bde9e987c921171e2d1e581 (patch)
tree235b3b3a82a36ef1a92f31a42623e6187869f882 /mert/Data.cpp
parent2c66ae5e34fb1165a9e0d996305d33d8318fb1bc (diff)
HWCM for MERT
Diffstat (limited to 'mert/Data.cpp')
-rw-r--r--mert/Data.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mert/Data.cpp b/mert/Data.cpp
index 095b26041..b6e3ed7f9 100644
--- a/mert/Data.cpp
+++ b/mert/Data.cpp
@@ -164,10 +164,9 @@ void Data::loadNBest(const string &file)
++it; // skip model score.
if (it) {
- ++it;
alignment = it->as_string(); //fifth field (if present) is either phrase or word alignment
+ ++it;
if (it) {
- ++it;
alignment = it->as_string(); //sixth field (if present) is word alignment
}
}