|
@@ -1827,13 +1827,14 @@ void SemSegContextTree::restore (std::istream & is, int format)
|
|
|
is >> trees;
|
|
|
forest.clear();
|
|
|
|
|
|
+
|
|
|
for (int t = 0; t < trees; t++)
|
|
|
{
|
|
|
vector<TreeNode> tmptree;
|
|
|
forest.push_back (tmptree);
|
|
|
int nodes;
|
|
|
is >> nodes;
|
|
|
- //cout << "nodes: " << nodes << endl;
|
|
|
+ cout << "tree nb " << t << " has " << nodes << " nodes." << endl;
|
|
|
for (int n = 0; n < nodes; n++)
|
|
|
{
|
|
|
TreeNode tmpnode;
|