Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Mail::Classifier::GrahamSpam 0.13

    Download button

    No screenshots available
    Downloads: 331  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David Golden | More programs
    Perl Artistic License / FREE
    August 14th, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Mail::Classifier::GrahamSpam description

    Mail::Classifier::GrahamSpam is a spam classification based on Paul Graham's algorithm.

    Mail::Classifier::GrahamSpam is a spam classification tool based on Paul Graham's algorithm.

    SYNOPSIS

    use Mail::Classifier::GrahamSpam;
    $bb = Mail::Classifier::GrahamSpam->new();
    $bb->bias( 'NOTSPAM', 2);
    $bb->train( { 'spam.mbox' => 'SPAM', 'notspam.mbox' => 'NOTSPAM' } );
    my ($cat, $prob) = $bb->score( $msg );

    ABSTRACT

    Mail::Classifier::GrahamSpam - spam classification based on Paul Graham's algorithm

    This class is a specific implementation of a Mail::Classifier that uses Naive Bayesian methods for associating messages with a category. The specific implemenation is based on the article "A Plan for Spam" by Paul Graham (thus the name).
    For classic Graham, make sure to set bias on non-spam to 2.
    While this class was designed to classify spam and non-spam, there is no underlying limitation that only two categories be used and thus it may be used for more general purposes as well. (And should perhaps be renamed in a subsequent release.) For example, we might call

    $bb->train ({ 'perl.mbox' => 'PERL',
    'java.mbox' => 'JAVA',
    'php.mbox' => 'PHP' });

    in order to train the classifier to identify other categories of mail.

    Requirements:

    · Perl



    Product's homepage

      


    TAGS:

    spam classification | mail classifier | Perl module | mail | spam | classification

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM