EntityDocumentResult

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

Bases: object

The document response for entities detect call.

Methods

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

Attributes

entities [Required] Gets the entities of this EntityDocumentResult.
key [Required] Gets the key of this EntityDocumentResult.
language_code [Required] Gets the language_code of this EntityDocumentResult.
__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this EntityDocumentResult.
  • entities (list[oci.ai_language.models.HierarchicalEntity]) – The value to assign to the entities property of this EntityDocumentResult.
  • language_code (str) – The value to assign to the language_code property of this EntityDocumentResult.
entities

[Required] Gets the entities of this EntityDocumentResult. List of detected entities.

Returns:The entities of this EntityDocumentResult.
Return type:list[oci.ai_language.models.HierarchicalEntity]
key

[Required] Gets the key of this EntityDocumentResult. Document unique identifier defined by the user.

Returns:The key of this EntityDocumentResult.
Return type:str
language_code

[Required] Gets the language_code of this EntityDocumentResult. Language code as per ISO 639-1 standard.

Returns:The language_code of this EntityDocumentResult.
Return type:str