Login   Register  
PHP Classes
elePHPant
Icontem

File: documentation.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alfan Farizki Wicaksono  >  PHP Text Classifier  >  documentation.txt  >  Download  
File: documentation.txt
Role: Documentation
Content type: text/plain
Description: the simple documentation
Class: PHP Text Classifier
Classify text in categories using Bayesian method
Author: By
Last change:
Date: 2009-01-03 16:59
Size: 837 bytes
 

Contents

Class file image Download
how to use this classes:

1. download all the files, classifier.php until all utilities and *.srl file
2. replace all the file in one folder. example in folder 'PHPclassifier'
3. create a new folder in folder 'PHPclassifer'. name that folder with 'cat'

in folder 'cat', you add 2 or more folder that are named with your 'category name'.

example, i have two category, spam and notspam, so i make 2 new folder in folder
'cat', first folder name 'spam' and the second folder name 'notspam'. 

in folder 'spam', i have *.txt file(name is free, blabla.txt), this txt file contain
the text that we classify spam before. this text will be used by the trainer.

same with the second folder 'notspam'.

----------------
FOR EXAMPLE
----------------

for more detail, please download http://students.itb.ac.id/~alfan_fw/PHPTextClassifier.zip