bayesian classifier, rails

a small cms system written in rails in which abstract for meetings, events, discussion or stored. in addition to being able to tag the content, the system itself should able to find appropriate tags/classifications for a text based an a bayesian classifier
1 answer

Classifier gem

use the classifier gem from

b = 'A', 'B'
b.train_A "diese worte sind eindeutig A"
b.train_B "und alles sonst B"
b.classify "alles alles" # returns B

you can train the classifier based on already tagged content.