TextDocumentInput Class

The input document to be analyzed by the service.

Inheritance
azure.ai.textanalytics._models.DictMixin
TextDocumentInput
azure.ai.textanalytics._generated.v3_0.models._models_py3.MultiLanguageInput
TextDocumentInput

Constructor

TextDocumentInput(**kwargs)

Parameters

id
str

Unique, non-empty document identifier.

text
str

The input text to process.

language
str

This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, uses "en" for English as default.

Variables

id
str

Required. Unique, non-empty document identifier.

text
str

Required. The input text to process.

language
str

This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, uses "en" for English as default.