Skip to main content

Emotions

Emotions Object

KEYTYPEDESCRIPTION
subsentenceslist of Subsentences Emotions Element ObjectSource of all emotions elements divided by subsentences
elementslist of Emotions Element ObjectSpecific source for all emotion elements in the sentence
valuesEmotions Values Objectnormalized total values for emotion

Emotions values are available at the following levels of granularity: sentence, subsentence and element.

Emotions Subsentences Object

KEYTYPEDESCRIPTION
sentencestringSource of all emotions elements divided by subsentences
start_idintId of the first token of the subsentence
end_idintId of the last token of the subsentence
elementslist of Emotions Element ObjetsSpecific source for all emotion elements in the subsentence
valuesEmotions Values Objectnormalized values for emotion of subsentence

Emotions Element Object

KEYTYPEDESCRIPTIONCONSTRAINTS
sourceindexintIndex of the source word for this element
-lemmastringsource's lemma
-lemmastringsource's source
subjectindexintIndex of the subject for this element
-lemmastringsubject's lemma
-sourcestringsubject's source
targetindexintIndex of the target for this element
-lemmastringtarget's lemma
-sourcestringtarget's source
type-stringType of emotion
value-floatIndice of the emotion

Subject is the word which represents the subject of the action

Source is the word which conveys the emotion

Target is the word which represents the target of the emotion

Emotions Values Object

KEYTYPEDESCRIPTIONCONSTRAINTS
happinessfloatnormalized total0 <= happiness < 1
sadnessfloatnormalized total0 <= sadness < 1
angerfloatnormalized total-1 < anger < 1
surprisefloatnormalized total-1 < surprise < 1
disgustfloatnormalized total-1 < disgust < 1
fearfloatnormalized total-1 < fear < 1

Values are calculated by using emotion elements objects. Values are normalized to stay in the the [-1 : 1] interval between element, subsentence and sentence level therefore comparisons should be made made with elements of the same depth.