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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-03-30 04:56:49 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-03-30 04:56:49 +0300
commita9dbced81dd045a667add6022099446ce0b6241a (patch)
tree2d3ab7d68352292ca0f7aa0ba3c6a1f1775262ff /moses
parentfcbfc5a535522328cd9c7abfc7f0680d93c3c9f4 (diff)
Bug fix.
Diffstat (limited to 'moses')
-rw-r--r--moses/TranslationModel/UG/mm/ug_bitext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TranslationModel/UG/mm/ug_bitext.h b/moses/TranslationModel/UG/mm/ug_bitext.h
index 7fbffbb1e..6387ba547 100644
--- a/moses/TranslationModel/UG/mm/ug_bitext.h
+++ b/moses/TranslationModel/UG/mm/ug_bitext.h
@@ -1072,7 +1072,7 @@ namespace Moses {
this->m_docname2docid[docname] = docid;
line >> b;
cerr << "DOCUMENT MAP " << docname
- << " " << a << "-" << b << endl;
+ << " " << a << "-" << b+a << endl;
for (b += a; a < b; ++a)
(*this->m_sid2docid)[a] = docid;
}
@@ -1099,7 +1099,7 @@ namespace Moses {
i2.open(base+L2+".sfa", this->T2);
assert(this->T1->size() == this->T2->size());
- string docmapfile = base+".dmp";
+ string docmapfile = base+"dmp";
if (!access(docmapfile.c_str(),F_OK))
load_document_map(docmapfile);
}