BatchDetectDominantLanguageResult¶
- class oci.ai_language.models.BatchDetectDominantLanguageResult(**kwargs)¶
Bases:
objectResult of language detect call.
Methods:
__init__(**kwargs)Initializes a new BatchDetectDominantLanguageResult object with values from keyword arguments.
Attributes:
[Required] Gets the documents of this BatchDetectDominantLanguageResult.
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 (list[oci.ai_language.models.DominantLanguageDocumentResult]) – The value to assign to the documents property of this BatchDetectDominantLanguageResult.
errors (list[oci.ai_language.models.DocumentError]) – The value to assign to the errors property of this BatchDetectDominantLanguageResult.
- property documents¶
[Required] Gets the documents of this BatchDetectDominantLanguageResult. List of succeeded document response.
- Returns
The documents of this BatchDetectDominantLanguageResult.
- Return type
- property errors¶
Gets the errors of this BatchDetectDominantLanguageResult. List of failed document response.
- Returns
The errors of this BatchDetectDominantLanguageResult.
- Return type