Skip to main content

sbx-swe-msd-stanza-stanzamorph-suc3

Analysis citation Information

Språkbanken Text (2022). sbx-swe-msd-stanza-stanzamorph-suc3 (updated: 2022-08-10). [Analysis]. Språkbanken Text. https://doi.org/10.23695/zx98-an63
BibTeX Additional ways to cite the dataset.
Annotation of morphological features (SUC) by Stanza for Swedish

This annotation contains morphosyntactic features in addition to part-of-speech tags.

In 2020, the Stanza tool was trained and tested on a set of gold-standard Swedish corpora (following SUC3-style annotation) in order to create a high-quality analysis. Currently (in 2024), this is the default analysis for Swedish in Språkbanken's analysis platform Sparv.

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:

- <token>:stanza.msd  # Part-of-speeches with morphological descriptions

For more info on how to use Sparv, check out the Sparv documentation.

Example output:

<token msd="PN.NEU.SIN.DEF.SUB+OBJ">Det</token>
<token msd="AB">här</token>
<token msd="VB.PRS.AKT">är</token>
<token msd="DT.UTR.SIN.IND">en</token>
<token msd="NN.UTR.SIN.IND.NOM">korpus</token>
<token msd="MAD">.</token>

Evaluation results

For a model trained on SUC3 and validated on a part of TalbankenSBX_dev the results are as follows:
tested on Talbanken SBX_test: exact match = 0.97; POS = 0.98; msd = 0.99
tested on SIC2: exact match = 0.92; POS = 0.93; msd = 0.96
More info: https://spraakbanken.gu.se/en/resources/flair/evaluating-pos-tagging

Other references

Type

  • Analysis

Task

  • morphosyntactic tagging

Unit

  • token

Dependencies

External tools

Stanza
Apache License 2.0

Models

Stanzamorph
CC BY 4.0

Tagset

Trained on

Keyword

  • stanza

Created

2020-12-07

Updated

2022-08-10

Contact

sb-info@svenska.gu.se