uClassify PHP5 Class
This is a PHP5 class for accessing uClassify XML services.
Currently supports the following operations
- Classify
- Classify many texts (batch processing)
- getInformation
- getInformationMany
- CreateClassifier
- AddClass
- Train
- Untrain
- RemoveClass
- RemoveClassifier
Usage
Example implementation:
<?php
$uclassify = new uClassify();
$uclassify->setReadApiKey(READ_API_KEY);
$uclassify->setWriteApiKey(WRITE_API_KEY);
// Classification from own of public classifiers
$uclassify->classify('Text that needs to be classified', 'Name of the classifier', (optional)'username_under_which_classifier_exists');
$uclassify->classifyMany(array('Text that needs to be classified','Text that needs to be classified','Text that needs to be classified'), 'Name of the classifier', (optional)'username_under_which_classifier_exists');
?>