Last 7 days, UTC

Average Latency
7ms

Average Uptime
100.0%

Current Status
Online

  • No information
  • Outage
  • Disruption
  • Normal
Average latency determined from Mashape to API Response time

Endpoints

HTTP 200 : string GET/class-1.1
class-1.1

Automatic classification of multilingual texts


Test console
Description
Parameter
string

Output formatl, xml or json
Example: json

of

Optional

string

Verbose mode. Shows additional information about the classification.
Example: n

verbose

Optional

string

Descriptive title of the content. It is an optional field, and it can be plain text, HTML or XML, always using UTF-8 encoding. The terms relevant for the classification process found in the title will have more influence in the classification than if they were in the text.

title

Optional

string

Input text. It can be plain text, HTML or XML, always using UTF-8 encoding. (Required if 'doc' and 'url' are empty)
Example: The 85th Academy Awards ceremony took place February 24, 2013.

txt

Optional

string

URL with the content to classify. Currently only non-authenticated HTTP and FTP are supported. The content types supported for URL contents can be found at https://textalytics.com/core/supported-formats. (Required if 'txt' and 'doc' are empty)

url

Optional

string

Input file with the content to analyze. The supported formats for file contents can be found at https://textalytics.com/core/supported-formats. (Required if 'txt' and 'url' are empty)

doc

Optional

string

Classification model to use. It will define into which categories the text may be classified. Possilbe values are: IPTC_es, IPTC_en, IPTC_ca, IPTC_pt, IPTC_it, IPTC_fr, EUROVOC_es_ca, BusinessRep_es, BusinessRepShort_es
Example: IPTC_en

model

Required

string

List of prefixes of the code of the categories to which the classification is limited. Each value will be separated by '|'. All the categories that do not start with any of the prefixes specified in the list will not be taken account in the classification. For example, if only a clasification within the human interest category, the prefix used would be 0800.
Example: 0800

categories

Optional

Consume this API completely for free!


By joining the mashape API marketplace you can start using Textalytics Text Classification 1.1 API today!

Login to your account or signup: Create Account

or
   Signup with GitHub

By signing up you agree to our terms of service.