Simple, Automatic Text Classification in Ruby on Rails
Posted by Daniel Butler Thu, 18 May 2006 23:27:00 GMT
Thomas Bayes, 1702-1761
Surendra Singhi of Calcutta, India, has released an extremely useful text classification plugin for Ruby on Rails. Using a Bayesian classifier you can flag comments, email, articles—whatever chunks of text you'd like to keep a handle on so that when you encounter more like it, you can do something automatically with it. Pick some categories, such as 'spam' or 'not spam', 'good' or 'evil', or even 'ironic' and 'irony-free', classify some existing text or data, and then use the method to predict the classification of an unknown text.
Read more for a summary of its usage.
Read more...
