Attribute Object
Introduction
The Attribute Object provides detailed information about attributes extracted from the processed document. The key-value pairs in this object represent dynamic attributes found in the document, and the associated values provide additional context.
Format
The Attribute Object has a dynamic structure based on the attributes found in the document. The general format for each attribute is as follows:
Key | Type | Description |
---|---|---|
negation | boolean | Indicates whether negation is present. |
intensity | number | Intensity level associated with the attribute. |
temporality | string | Temporal aspect of the attribute (e.g., past, present). |
owner | array | Array of owners associated with the attribute. |
id_list | String [] | A list of strings representing the positions inside the text that triggered the attribute. Each string follows the format "{sentence_index}:{word_index}" . |
origin | string | Origin of the attribute (e.g., lemmatizer, understanding). |
document_path | string | Path within the document associated with the attribute. |
extra | object | Additional information specific to the attribute. |
type | string | Type of the attribute (e.g., string, entity). |
value | varies | Value associated with the attribute. The format may vary based on the attribute type. |
time | number | Timestamp indicating when the attribute was processed. |
u_id | string | Unique identifier for the attribute. |
Next steps
- Explore the dynamic attributes and their values within the document to gain deeper insights.
- Read about the Possessing Object