KeyPhraseBatchResultItem Class

KeyPhraseBatchResultItem.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
KeyPhraseBatchResultItem

Constructor

KeyPhraseBatchResultItem(*, id: Optional[str] = None, statistics=None, **kwargs)

Parameters

id
str
Required

Unique, non-empty document identifier.

statistics
DocumentStatistics
Required

(Optional) if showStats=true was specified in the request this field will contain information about the document payload.

Variables

key_phrases
list[str]

A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document.