DetectDominantLanguageDetails

class oci.ai_language.models.DetectDominantLanguageDetails(**kwargs)

Bases: object

The document details for language detect call.

Methods:

__init__(**kwargs)

Initializes a new DetectDominantLanguageDetails object with values from keyword arguments.

Attributes:

text

[Required] Gets the text of this DetectDominantLanguageDetails.

__init__(**kwargs)

Initializes a new DetectDominantLanguageDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

text (str) – The value to assign to the text property of this DetectDominantLanguageDetails.

property text

[Required] Gets the text of this DetectDominantLanguageDetails. Document text for detect language.

Returns

The text of this DetectDominantLanguageDetails.

Return type

str