Skip to main content

sbx-swe-emotions_sentence-transformers-kblab_brighter

Analysis citation Information

Språkbanken Text. sbx-swe-emotions_sentence-transformers-kblab_brighter [Analysis]. Språkbanken Text. https://doi.org/10.23695/27bv-m492
BibTeX Additional ways to cite the dataset.
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.

Example

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>

Type

  • Analysis

Task

  • multi-class emotion classification

Unit

  • sentence

Contact

sb-info@svenska.gu.se