DetectDominantLanguageResult

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

Bases: object

Result of language detect call.

Methods:

__init__(**kwargs)

Initializes a new DetectDominantLanguageResult object with values from keyword arguments.

Attributes:

languages

[Required] Gets the languages of this DetectDominantLanguageResult.

__init__(**kwargs)

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

Parameters

languages (list[oci.ai_language.models.DetectedLanguage]) – The value to assign to the languages property of this DetectDominantLanguageResult.

property languages

[Required] Gets the languages of this DetectDominantLanguageResult. List of detected languages with results sorted in descending order of the scores. Most likely language is on top.

Returns

The languages of this DetectDominantLanguageResult.

Return type

list[oci.ai_language.models.DetectedLanguage]