Update of /cvsroot/popfile/engine/UI
In directory sc8-pr-cvs1:/tmp/cvs-serv25248/UI
Modified Files:
HTML.pm
Log Message:
Fix rounding problem with word counts and add new API get_count_for_word
Index: HTML.pm
===================================================================
RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v
retrieving revision 1.154
retrieving revision 1.155
diff -C2 -d -r1.154 -r1.155
*** HTML.pm 20 May 2003 17:51:34 -0000 1.154
--- HTML.pm 20 May 2003 20:15:03 -0000 1.155
***************
*** 1538,1542 ****
while ( $j =~ m/\G\|(.*?) L?\-?[\.\d]+\|/g ) {
my $word = $1;
! $temp{$word} = int( exp( $self->{classifier__}->get_value_( $self->{form_}{showbucket}, $word ) ) * $bucket_count + 1 );
}
--- 1538,1542 ----
while ( $j =~ m/\G\|(.*?) L?\-?[\.\d]+\|/g ) {
my $word = $1;
! $temp{$word} = $self->{classifier__}->get_count_for_word( $self->{form_}{showbucket}, $word );
}
|