Batch processing
Analyse a text file with one text per line in your browser and download the emotions, dimensions and roles as a table.
Runs in your browser
Choose a plain text file (UTF-8) with one text per line, up to 10,000 lines. The file is analysed in your browser: it is not uploaded, and nothing is stored.
The table
One row per line of your file: the predicted emotions with their probabilities, valence and arousal, whether the text describes an event, the emotion components, the appraisals (only for texts that describe an event) and, if switched on, the emotion roles.
All columns
line: line number in your file;text: the line (tabs and line breaks become spaces).model:no perspective,perspectiveor30 corpora;model_id: the exact model, as on the general models page;perspective: the chosen perspective (writer, experiencer, reader or not-specified), empty for the other two models.emotions: the predicted emotions, comma-separated (if none is above its threshold, the most probable one).- For each of anger, disgust, fear, joy, sadness, surprise, shame_guilt, trust and none:
<emotion>_prob(probability, from 0 to 1) and<emotion>(1 if above the threshold tuned on validation data, else 0). - The 30-corpora model predicts emotion categories only, so its table ends here (apart from roles, if switched on). The other two models also give:
valence,arousal: from 0 to 1.event_prob,event: whether the text describes an event (1 or 0). The probabilities are very small; the threshold is set so that 95% of event texts pass.- For each emotion component (cognitive, neurophysiological, motivational, motor_expression, subjective_feeling):
<component>_proband<component>(1 or 0). appraisal_<dimension>: the 16 appraisal dimensions from 0 to 1, empty if the model finds no event.- With roles:
role_experiencer,role_stimulus_target,role_cue: the marked text spans, separated by " | ".
What the models are
The same three models as in the demo: half-precision (fp16) versions of the no perspective model‡, the perspective model‡ (both non-commercial use only) and the 30-corpora model‡ (non-commercial research only), three of our general models. All three are on Hugging Face.
More about the models
Empty lines are skipped. The chosen model (about 570 MB) is downloaded once, unless your browser has it already from the demo. On a laptop, expect about 10 lines per second, about 2 with emotion roles; the page shows the time left, and you can stop and still download the lines analysed so far.
Texts longer than about 200 words are cut off, as in the demo. For more than 10,000 texts, use a downloaded model with Python; the general models page has the code.

