Skip to main content

sbx-swe-correct_swedish-transformers-superlim2

Analysis citation Information

Språkbanken Text. sbx-swe-correct_swedish-transformers-superlim2 [Analysis]. Språkbanken Text. https://doi.org/10.23695/70ky-gs30
BibTeX Additional ways to cite the dataset.
Determine whether a sentence is correct Swedish or not

Example

This analysis is used with Sparv. Check out Sparv's quick start guide to get started!

To use this analysis, add the following lines under export.annotations in the Sparv corpus configuration file:

- <sentence>:sbx_superlim.dalaj-ged.label  # None
- <sentence>:sbx_superlim.dalaj-ged.certainty  # 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 dalaj-ged.certainty="0.8721855878829956" dalaj-ged.label="correct">
  <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 dalaj-ged.certainty="0.8851249814033508" dalaj-ged.label="incorrect">
  <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

  • correct swedish label

Unit

  • sentence

Licence

Dependencies

External tools

Models

DaLAJ-GED-Superlim 2.0
Also see https://huggingface.co/datasets/sbx/superlim-2

Keyword

  • transformers
  • huggingface
  • superlim

Contact

sb-info@svenska.gu.se