Dan
Dan

Reputation: 1711

Which Python Bayesian text classification modules are similar to dbacl?

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

Upvotes: 10

Views: 5192

Answers (3)

Vikrant Sagar
Vikrant Sagar

Reputation: 71

Try Mallet and LingPipe. they provide more models for the classifier.

Upvotes: -1

fulmicoton
fulmicoton

Reputation: 15968

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.

Upvotes: 0

theycallmemorty
theycallmemorty

Reputation: 12962

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

Upvotes: 9

Related Questions