views:

1783

answers:

4

A quick Google search reveals that there are a good number of Bayesian classifiers implemented as Python modules. If I want wrapped, high-level functionality similar to dbacl, which of those modules is right for me?

Training

% dbacl -l one sample1.txt
% dbacl -l two sample2.txt

Classification

% dbacl -c one -c two sample3.txt -v
one
+3  A: 

I think you'll find the nltk helpful. Specifically, the classify module.

theycallmemorty
A: 

If you're trying to detect language this works fine even with pretty short texts.

The api is pretty close to yours but I don't know if it is called a Bayesian classifier.

poulejapon
A: 

It maybe this can be useful: http://www.divmod.org/trac/wiki/DivmodReverend

A: 

How can a simple basyesian text classifier be built?