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