https://github.com/ashwanthkumar/uclassify-php5
PHP Class for accessing uClassify services
https://github.com/ashwanthkumar/uclassify-php5
Last synced: about 1 year ago
JSON representation
PHP Class for accessing uClassify services
- Host: GitHub
- URL: https://github.com/ashwanthkumar/uclassify-php5
- Owner: ashwanthkumar
- Created: 2011-05-16T09:53:09.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2013-04-24T16:40:00.000Z (about 13 years ago)
- Last Synced: 2025-04-11T18:56:25.668Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 108 KB
- Stars: 14
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
uClassify PHP5 Class
--------------------
This is a PHP5 class for accessing uClassify XML services.
Currently supports the following operations
1. Classify
2. Classify many texts (batch processing)
3. getInformation
4. getInformationMany
5. CreateClassifier
6. AddClass
7. Train
8. Untrain
9. RemoveClass
10. RemoveClassifier
Usage
-----
Example implementation:
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');
?>