mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-09 16:04:41 +03:00
mmBitext now maintains a vector of document names.
This commit is contained in:
parent
8a921f5dc9
commit
1791f47bfb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user