Request

Request for NLP API version 3

Fields

Property

Required

Type

Description

id

False

string

Unique identifier of the document.

title

False

string

The title or subject of the document, when available; mutually exclusive with the paraSpecs parameter.

text

False

string

The main text of the document; mutually exclusive with the paraSpecs parameter.

paraSpecs

False

List[ParaSpec]

The document paragraphs; mutually exclusive with title and text parameters.

analyses

False

List[string]

[option] What analysis to return. Default: all. The options are: all, entities, tags, relations, sentiment, language.

htmlExtractor

False

string

[option] Text extractor to be used when analyzing HTML document.

language

False

string

[option] The language of the document as ISO 639-1. Auto-detection will be used if omitted. The options are: en, cs, sk, de, es, pl.

langDetectPrior

False

string

[option] The language detection prior; e.g. de,en. Currently supported priors here..

domain

False

string

[option] The source domain from which the document originates. Current domains here..

textType

False

string

[option] The type or genre of text; e.g. article, casual, customer-feedback, email, social.

referenceDate

False

string

[option] Date to be used for the analysis as a reference; values: NOW` or in format YYYY-MM-DD.

diacritization

False

string

[option] Determines whether to perform text diacritization.

returnMentions

False

boolean

[option] Should entity/tag/relation mentions be returned? Default: false.

returnItemSentiment

False

boolean

[option] Should entity/mention/tag/relation etc. sentiment be returned? Default: false.