Taste Object
Introduction
The Taste Object provides detailed information about taste relationships in the processed document. The keys inside the Taste Object represent different taste types, and the associated values are arrays of dictionaries containing common attributes, regardless of the taste type.
Format
The Taste Object has a dynamic structure based on the taste types found in the document. The general format for each taste type is as follows:
Key | Type | Description |
---|---|---|
negation | boolean | Indicates whether negation is present. |
intensity | number | Intensity level associated with the taste. |
temporality | string | Temporal aspect of the taste (e.g., past, present). |
owner | array | Array of owners associated with the taste. |
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 taste (e.g., transformation). |
document_path | string | Path within the document associated with the taste. |
extra | object | Additional information specific to the taste. |
type | string | Type of the taste (e.g., neutral, specific_taste). |
value | varies | Value associated with the taste. The format may vary based on the taste type. |
time | number | Timestamp indicating when the taste was processed. |
u_id | string | Unique identifier for the taste. |
Next steps
- Explore the different types of taste relationships and their associated attributes within the document to gain deeper insights.
- Read about the Event Object