PHP Text Classifier: Classify text in categories using Bayesian method

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 3,252 All time: 1,071 This week: 336Up
Version License PHP version Categories
phptextclassifier 0.1GNU General Publi...4.0Text processing, Artificial intelligence
Description Author

This package can be used to classify text in categories using a naive Bayesian method.

First it can create a database using sample text to train the classification system. The database is stored in a text file with serialized data.

Then it can analyze arbitrary texts and use the database created during training to guess the category that the text belongs.

It can add new possible categories to the database without limit in number of categories.

Recommendations
Innovation Award
PHP Programming Innovation award nominee
January 2009
Number 10
Bayesian algorithms are often used to classify data in different categories in a way that the systems can be trained and learn from human corrections.

This class provides a solution based on Bayesian algorithms to classify text in an unlimited number of categories.

Manuel Lemos
Picture of Alfan Farizki Wicaksono
Name: Alfan Farizki Wicaksono <contact>
Classes: 2 packages by
Country: Indonesia Indonesia
Age: 31
All time rank: 90712 in Indonesia Indonesia
Week rank: 632 Up12 in Indonesia Indonesia Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file classifier.php Class text classification in PHP (main module)
Accessible without login Plain text file documentation.txt Doc. the simple documentation
Accessible without login Plain text file example.php Example the example, how to use this classes
Plain text file trainer.php Class trainer of the classifier
Plain text file categorymgr.php Class class manager category [utility]
Plain text file category.php Class class category [utility]
Plain text file wordcount.php Class class wordcount [utility]
Plain text file wordprob.php Class class wordprob [utility]
Accessible without login Plain text file wordprob.srl Data serialization of wordprob [example]

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,252
This week:0
All time:1,071
This week:336Up
User Ratings User Comments (2)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:56%StarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:385
  

For more information send a message to info at phpclasses dot org.