AlchemyAPI::category
Categorizes the text for text, a URL or HTML.
For an overview, please refer to: http://www.alchemyapi.com/products/features/text-categorization/ For the docs, please refer to: http://www.alchemyapi.com/api/text-categorization/ INPUT: flavor -> which version of the call, i.e. text, url or html. data -> the data to analyze, either the text, the url or html code. options -> various parameters that can be used to adjust how the API works, see below for more info on the available options. Available Options: showSourceText -> 0: disabled (default), 1: enabled OUTPUT: The response, already converted from JSON to a PHP object.
Signature
public function category(
$flavor,
$data,
[array
$options = ] )
Parameters
$flavor
—$data
—$options
— array