added traces to syngroup building

This commit is contained in:
Jean-Francois Dockes 2019-05-22 09:09:13 +02:00
parent 38b3e63bd4
commit 2b586a70bd
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
1.25.16~pre1 1.25.16~pre2

View File

@ -184,9 +184,12 @@ bool SynGroups::setfile(const string& fn)
for (const auto& word : words) { for (const auto& word : words) {
m->terms[word] = m->groups.size()-1; m->terms[word] = m->groups.size()-1;
} }
LOGDEB1("SynGroups::setfile: group: [" << LOGDEB0("SynGroups::setfile: group: [" <<
stringsToString(m->groups.back()) << "]\n"); stringsToString(m->groups.back()) << "]\n");
} }
# Some stats
LOGDEB("SynGroups::setfile: got " << m_groups.size() <<
" distinct terms." << endl;
m->ok = true; m->ok = true;
m->setpath(fn); m->setpath(fn);
return true; return true;