1 This is a (naive) example of naive bayesian text classification.
3 The perl5 script is derived from code written by John Graham-Cumming
4 and found in the recent issue of Dr. Dobbs Journal (May 2005) in an
5 article entitled "Naive Bayesian Text Classification".
7 The perl6 version is mostly a straight port of that script.
9 The best way to see what this does is to run the `run.pl` file. It
10 will run both the perl5 version and the perl6 version one after the
15 The 'training' files I have supplied (apples, oranges, grages) are fairly
16 minimal, and the test file (test) is not so great either. I invite anyone
17 to add better training and test files to this and/or improve upon the