DetectLanguageInput Class

The input document to be analyzed for detecting language.

Inheritance
azure.ai.textanalytics._generated.v3_0.models._models_py3.LanguageInput
DetectLanguageInput

Constructor

DetectLanguageInput(**kwargs)

Parameters

id
str

Unique, non-empty document identifier.

text
str

The input text to process.

country_hint
str

A country hint to help better detect the language of the text. Accepts two letter country codes specified by ISO 3166-1 alpha-2. Defaults to "US". Pass in the string "none" to not use a country_hint.

Variables

id
str

Required. Unique, non-empty document identifier.

text
str

Required. The input text to process.

country_hint
str

A country hint to help better detect the language of the text. Accepts two letter country codes specified by ISO 3166-1 alpha-2. Defaults to "US". Pass in the string "none" to not use a country_hint.