Text Classification - Console

key

The access key is required for making requests to any of our web services.

of

Output format

verbose

Verbose mode. When active, it shows additional information about the classification, specifically, it shows the terms that have been used for classifying a text within a category along with how they influence the relevance of the category for the processed text.

debug

Debug mode. When enabled, it shows additional debug information about the rules in the model that have been fired in the classification. It only applies to user-defined models.

Content

title

Descriptive title of the content. 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.

abstract

Descriptive abstract of the content. The terms relevant for the classification process found in the abstract will have more influence in the classification than if they were in the text (but less than the ones in the title).

txt

Input text that's going to be classified.


doc

Input file with the content to analyze. The supported formats for file contents can be found here.


url

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 here.

The fields txt, doc and url are mutually exclusive; in other words, at least one of them must not be empty (a content parameter is required).

Operating Parameters

model

Classification model to use. It will define into which categories the text may be classified.

categories_filter

List of prefixes of the code of the categories to which the classification is limited. Each value will be separated by '|' (category-1|...|category-N).

expand_hierarchy

It allows you to select if in the results you want to include the parents or the ancestors of the category/categories in which the content has been classified. It only applies to models with explicit hierarchy.

Raw Formatted