Try out CPSBayes, the multipurpose naive bayesian classifier for CPS

CPSBayes is a naive bayesian classifier, that uses the same kind of algorithms than software like SpamAssassin. Its main use case is to categorize incoming mails in CPSCourier, a complete solution for mail and notes managment.

The tool stores data in the ZODB or in any kind of SQL Database, using SQLObject connector.

Categorization can apply to a lot of other use cases as well, and I have coded a small product called CPSBayesExample that shows how simple it is to set and use CPSBayes over a portal.

The product provides a textarea where you can type some text, and show some pictures and categories that are guessed by CPSBayes, with the text. The page is dynamically updated through Ajax, with a simple keystroke.

The categories can be trained as well so you can make it learn new patterns.

This simple demo shows how CPSBayes could be used to do automatic metadata filling with a very few lines of code.

To get it, checkout the code from our subversion:

  # svn co https://svn.nuxeo.org/pub/CPS3/examples/CPSBayesExample/trunk CPSBayesExample

And read the README.txt file


screenshot.png
Guessing categories with some text

Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/tarek_ziade/2006_06_24_try-cpsbayes/tbping
Posted by Tarek Ziadé @ 06/24/2006 01:34 PM. - Categories: AJAX, cps, nuxeo, python, zope, zope3 -  0 comments

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.