We found it very difficult to tweak parts of that framework so we rewrote it (or rather most of it) with the 'single responsibility' principle in mind. We also ported it to Moose and made immutable objects where ever we could.
The result is three distributions. Now on github and soon on CPAN: https://github.com/operasoftware/Text-WordCounter https://github.com/operasoftware/AI-NaiveBayes https://github.com/operasoftware/AI-Classifier -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/