mmBitext now maintains a vector of document names.

This commit is contained in:
Ulrich Germann 2015-04-21 17:43:51 +01:00
parent 8a921f5dc9
commit 1791f47bfb

View File

@ -43,6 +43,7 @@ namespace Moses
if (docname.size() && docname[0] == '#') continue; // comment
size_t docid = this->m_docname2docid.size();
this->m_docname2docid[docname] = docid;
this->m_docname.push_back(docname);
line >> b;
VERBOSE(1, "DOCUMENT MAP " << docname
<< " " << a << "-" << b+a << endl);