BatchDetectDominantLanguageResult

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

Bases: object

Result of language detect call.

Methods

__init__(**kwargs) Initializes a new BatchDetectDominantLanguageResult object with values from keyword arguments.

Attributes

documents [Required] Gets the documents of this BatchDetectDominantLanguageResult.
errors Gets the errors of this BatchDetectDominantLanguageResult.
__init__(**kwargs)

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

Parameters:
documents

[Required] Gets the documents of this BatchDetectDominantLanguageResult. List of succeeded document response.

Returns:The documents of this BatchDetectDominantLanguageResult.
Return type:list[oci.ai_language.models.DominantLanguageDocumentResult]
errors

Gets the errors of this BatchDetectDominantLanguageResult. List of failed document response.

Returns:The errors of this BatchDetectDominantLanguageResult.
Return type:list[oci.ai_language.models.DocumentError]