-
- fprintf (stderr, "\n%d words using %d bytes\n",
- stat_info.no_dict_entries, stat_info.no_dict_bytes);
- fprintf (stderr, " Occurrences Words\n");
+
+ if (zh->reg->isamb)
+ {
+ for (i = 0; i<4; i++)
+ {
+ int j;
+ int bsize = isamb_block_info(zh->reg->isamb, i);
+ if (bsize < 0)
+ break;
+ fprintf (stdout, "Category %d\n", i);
+ fprintf (stdout, "Block size %d\n", bsize);
+ fprintf (stdout, "Blocks: " ZINT_FORMAT "\n", stat_info.isamb_blocks[i]);
+ fprintf (stdout, "Size: " ZINT_FORMAT "\n", stat_info.isamb_sizes[i]);
+ fprintf (stdout, "Entries: " ZINT_FORMAT "\n",
+ stat_info.no_isam_entries[i]);
+ fprintf (stdout, "Total " ZINT_FORMAT "\n", stat_info.isamb_blocks[i]*
+ bsize);
+ for (j = 0; j<5; j++)
+ if (stat_info.isamb_levels[i][j])
+ fprintf (stdout, "Level%d %d\n", j,
+ stat_info.isamb_levels[i][j]);
+ fprintf (stdout, "\n");
+ }
+ }
+ fprintf (stdout, "Checksum %08lX\n", stat_info.cksum);
+
+ fprintf (stdout, "Distinct words %d\n", stat_info.no_dict_entries);
+ occur = 0;
+ for (i = 0; i<9; i++)
+ occur += stat_info.no_isam_entries[i];
+ fprintf (stdout, "Word pos " ZINT_FORMAT "\n", occur);
+ fprintf (stdout, " Occurrences Words\n");