A Sparv plugin for multi-class emotion classification on sentence-level.
A Sparv plugin for multi-class emotion classification on sentence-level, trained on the Swedish subset of the Brighter dataset.
Additional ways to cite the dataset.
A Sparv plugin for multi-class emotion classification on sentence-level, trained on the Swedish subset of the Brighter dataset.
This analysis is used with Sparv. Check out Sparv's quick start guide to get started!
To use this analysis, add the following line under export.annotations in the Sparv corpus configuration file:
- <sentence>:sbx_emotions_brighter.emotion # Emotions found in sentence
You also need to install the following plugin: sbx_emotions_brighter.
For general information on how to install plugins, see here.
For more info on how to use Sparv, check out the Sparv documentation.
Example output:
<sentence emotion="|anger,0.96|disgust,0.96|surprise,0.38|sadness,0.19|fear,0.12|">
<token>Den</token>
<token>här</token>
<token>produkten</token>
<token>lever</token>
<token>inte</token>
<token>alls</token>
<token>upp</token>
<token>till</token>
<token>standard</token>
<token>,</token>
<token>skäms</token>
<token>!</token>
</sentence>