Hoppa till huvudinnehåll

sbx-swe-emotion_sentence-transformers-kblab_emotional_classification

Analyscitering Information

KB-Labb (2025). sbx-swe-emotion_sentence-transformers-kblab_emotional_classification (uppdaterad: 2025-10-24). [Analysis]. Språkbanken Text. https://doi.org/10.23695/bn3b-ht45
BibTeX Ytterligare sätt att citera datamängden.
Känsloanalys på meningsnivå mha KBLab/emotional-classification

Känsloanalys på meningsnivå med hjälp av transformers och KBLab/emotional-classification.

Exempel

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:

- :sbx_emotions_kb_emoclass.emotion--kb-emoclass  # Emotional analysis of sentence with KBLab/emotional-classification

You also need to install the following plugin: sbx_emotions_kb_emoclass.

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:


  Jag
  är
  förvånad
  ,
  chockad
  och
  bestört
  över
  det
  här
  ,
  säger
  Anders
  Persson
  till
  SVT
  Nyheter
  Småland
  .

Typ

  • Analys

Uppgift

  • emotionell analys

Enhet

  • mening

Licens

Beroenden

Externa verktyg

Modeller

KBLab/emotional-classification
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for classification of emotions in Swedish text. The model supports seven basic emotions.

Nyckelord

  • transformers
  • kb-lab

Skapad av

  • KB-Labb

Skapad

2025-10-17

Uppdaterad

2025-10-24

Kontakt

sb-info@svenska.gu.se