diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-04-21 19:43:51 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-04-21 19:43:51 +0300 |
commit | 1791f47bfb8954bc849e017972962fba9f119067 (patch) | |
tree | 08f6068dc5e0fae242c90e2dd7d799deab5f93b8 /moses | |
parent | 8a921f5dc96eb110641f2924f541620001d5c27b (diff) |
mmBitext now maintains a vector of document names.
Diffstat (limited to 'moses')
-rw-r--r-- | moses/TranslationModel/UG/mm/ug_mm_bitext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/TranslationModel/UG/mm/ug_mm_bitext.h b/moses/TranslationModel/UG/mm/ug_mm_bitext.h index 211793277..5b18ff1fa 100644 --- a/moses/TranslationModel/UG/mm/ug_mm_bitext.h +++ b/moses/TranslationModel/UG/mm/ug_mm_bitext.h @@ -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); |