Skip to main content

sbx-swe-migration_stance-transformers-superlim2

Analysis citation Information

Språkbanken Text. sbx-swe-migration_stance-transformers-superlim2 [Analysis]. Språkbanken Text. https://doi.org/10.23695/h47q-zr37
BibTeX Additional ways to cite the dataset.
Label the sentiment towards immigration on a continuous scale

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_superlim.migration_stance  # None

You also need to install the following plugin: sbx_superlim.

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 migration_stance="4.854378700256348">
  <token>Ett</token>
  <token>öppet</token>
  <token>Sverige</token>
  <token>Vi</token>
  <token>lever</token>
  <token>i</token>
  <token>en</token>
  <token>orolig</token>
  <token>tid</token>
  <token>,</token>
  <token>där</token>
  <token>människor</token>
  <token>tvingas</token>
  <token>fly</token>
  <token>för</token>
  <token>sina</token>
  <token>liv</token>
  <token>från</token>
  <token>krig</token>
  <token>och</token>
  <token>förtryck</token>
  <token>.</token>
</sentence>
<sentence migration_stance="3.4953160285949707">
  <token>Inte</token>
  <token>sedan</token>
  <token>Andra</token>
  <token>världskriget</token>
  <token>har</token>
  <token></token>
  <token>många</token>
  <token>människor</token>
  <token>varit</token>
  <token></token>
  <token>flykt</token>
  <token>.</token>
</sentence>

Type

  • Analysis

Task

  • migration stance

Unit

  • sentence

Licence

Dependencies

External tools

Models

Svensk ABSAbank-Imm 1.1
Also see https://huggingface.co/datasets/sbx/superlim-2

Keyword

  • transformers
  • huggingface
  • superlim

Contact

sb-info@svenska.gu.se