DetectLanguageTextClassificationResult

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

Bases: object

Result of text classification detect call.

Methods

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

Attributes

text_classification [Required] Gets the text_classification of this DetectLanguageTextClassificationResult.
__init__(**kwargs)

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

Parameters:text_classification (list[oci.ai_language.models.TextClassification]) – The value to assign to the text_classification property of this DetectLanguageTextClassificationResult.
text_classification

[Required] Gets the text_classification of this DetectLanguageTextClassificationResult. List of detected text classes.

Returns:The text_classification of this DetectLanguageTextClassificationResult.
Return type:list[oci.ai_language.models.TextClassification]