Skip to content

ashwanthkumar/uClassify-PHP5

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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:

<?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');

?>

About

PHP Class for accessing uClassify services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages