The uploaded file
has entered CPAN as
size: 5313 bytes
This is the Naive Bayes code from my AI::Categorizer module, extracted
into a stand-alone module that can be used for other things besides
text. The attributes and labels in Algorithm::NaiveBayes are
arbitrary, and it doesn't do any text processing. This frees it up for
other machine learning purposes.