Skip to main content
Språkbanken Text is a department within Språkbanken.

swe-msd-stanza-stanzamorph-suc3

Citation Information

Språkbanken Text (2022). swe-msd-stanza-stanzamorph-suc3 (updated: 2022-08-10). [Analysis]. Språkbanken Text.

Standard reference Information

https://aclanthology.org/2021.nodalida-main.20/

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

  • Stanza: Peng Qi, Yuhao Zhang, Yuhui Zhang, Jason Bolton and Christopher D. Manning. 2020

  • Stanza: A Python Natural Language Processing Toolkit for Many Human Languages. In Association for Computational Linguistics (ACL) System Demonstrations. 2020

  • SUC3: https://spraakbanken.gu.se/en/resources/suc3

  • TalbankenSBX: https://spraakbanken.gu.se/en/blog/20200609-the-five-lives-of-talbanken

  • SIC2: https://spraakbanken.gu.se/en/resources/sic2

Type

  • Analysis

Task

morphosyntactic tagging

Unit

token

Tool

Stanza

Model

Tagset

Trained on

Keyword

  • stanza

Created

2020-12-07

Updated

2022-08-10

Contact

Språkbanken Text
sb-info@svenska.gu.se