PHP Classes

PHP Text Classifier: Classify text in categories using Bayesian method

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in

  Author Author  
Picture of Alfan Farizki Wicaksono
Name: Alfan Farizki Wicaksono <contact>
Classes: 2 packages by
Country: Indonesia Indonesia
Age: 26
All time rank: 109416 in Indonesia Indonesia
Week rank: 165 Up3 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Alfan Farizki Wicaksono  >  PHP Text Classifier  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Text Classifier
Base name: phptextclassifier
Description: Classify text in categories using Bayesian method
Version: 0.1
PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 2440 users
All time rank: 1502
Week users: 8 users
Week rank: 138 Up
  Groups   Rate classes User ratings   Trackback  
  Applications   Related pages   Files Files  

Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Artificial intelligence Automation of tasks using human-like intelligence View top rated classes


What is the best PHP text mining class?
Bayes text mining

  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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Perfect (100%) Good (83%) Not sure (50%) Not sure (58%) - - Sufficient (69%) 267
Month: Not yet rated by the users

  Pages that reference this package  
Text Classification With PHP
Text classification is probably the most popular real-world application of machine learning and other AI techniques...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
download all here
you can download all from this sites.

  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 Data serialization of wordprob [example]

Install with Composer Install with Composer - Download Download all files: phptextclassifier.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.