build_probabilities.pl - Turn two token files into a probability file
The following options are supported
Specify the token file containing the bad tokens. In other words, the tokens from the SPAM messages.
example: perl -w build_probabilities.pl -p prob.dat -b bad.dat
Specify the token file containing the good tokens. In other words, the tokens from the non-SPAM messages.
example: perl -w build_probabilities.pl -p prob.dat -b bad.dat -g good.dat
Print useage instructions
example: perl -w build_probabilities.pl -h
If a logfile is specified, then this is used as the logfile name.
You can create a configuration file for your logger and then configure
your log object by simply telling it to read the specified configuration file.
To create an initial configuration file, write a perl script that
creates a logger, configures the logger, and then use the write_to_file('log_cfg.dat')
method.
This provides complete control over how the logger is configured. You can set screen and file output levels, for example.
example: perl -w build_probabilities.pl -p prob.dat -b bad.dat -g good.dat --log_cfg ~andy/logs/default_log.dat
This allows you to specify which directory contains the log
example: perl -w build_probabilities.pl -p prob.dat -b bad.dat -g good.dat --log_dir ~andy/logs
This provides a method of specifying the name of the output probability token data file.
example: perl -w build_probabilities.pl -p prob.dat -b bad.dat -g good.dat
Copyright 1998-2002, Andrew Pitonyak (perlboy@pitonyak.org)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Version 1.00 First release