PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-01-03 (10 years ago) RSS 2.0 feedStarStarStarStar 70%Total: 3,217 This week: 1All time: 1,086 This week: 362Up
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
Name: Alfan Farizki Wicaksono <contact>
Classes: 2 packages by
Country: Indonesia Indonesia
Age: 30
All time rank: 91212 in Indonesia Indonesia
Week rank: 330 Up7 in Indonesia Indonesia Up
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,217
This week:1
All time:1,086
This week:362Up
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:378