Changeset 17564 for gsdl/trunk/perllib/basebuildproc.pm
- Timestamp:
- 2008-10-20T15:33:25+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/basebuildproc.pm
r17111 r17564 144 144 $self->{'num_docs'} = 0; 145 145 $self->{'num_sections'} = 0; 146 $self->{'num_bytes'} = 0; 146 # reconstructed docs have no text, just metadata, so we need to 147 # remember how many bytes we had initially 148 $self->{'num_bytes'} = $self->{'starting_num_bytes'}; 147 149 148 150 $self->{'num_processed_bytes'} = 0; … … 425 427 # update a few statistics 426 428 $self->{'num_bytes'} += $doc_obj->get_text_length ($section); 429 print STDERR "num bytes added = ".$doc_obj->get_text_length ($section)."\n"; 427 430 $self->{'num_sections'} += 1 unless ($doctype eq "classification"); 428 431
Note:
See TracChangeset
for help on using the changeset viewer.