On Sun, Nov 8, 2009 at 2:38 PM, Thomas Eckardt/eck
<[email protected]> wrote:
> OK - now I know what you meen. AnalyseText sets $this->{report} and we use
> this to send the analyse report - but it is not reset to empty after that.
>
> Will change it.
>
Thanks. Obviously, not urgent. Nor is this requested addition or
something like it-
else { #norm exists, print it
my $normdesc = '';
if ( $norm < 0.6 ) { $normdesc = '(warning: extremely ham heavy)'; }
elsif ( $norm < 0.9 ) { $normdesc = '(ok - slighly ham heavy)'; }
elsif ( $norm < 1.1 ) { $normdesc = '(very good -
balanced)'; } <-- I'm guessing between .9 and 1.1 is very good
elsif ( $norm < 1.4 ) { $normdesc = '(ok - slighly spam heavy)'; }
else { $normdesc = '(warning: extremely spam
heavy)'; }
&rb_printlog( "Corpus norm:\t%.4f %s\n", $norm, $normdesc );
}
I think I've got that last line right with the printf syntax, but if
not, it's the normdesc variable that should be inserted after the norm
for that little bit of extra explanation.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test