Skip to main content

sbx-swe-dependency-stanza-stanzasynt

Analysis citation Information

Språkbanken Text (2022). sbx-swe-dependency-stanza-stanzasynt (updated: 2022-08-10). [Analysis]. Språkbanken Text. https://doi.org/10.23695/v6s0-be16
BibTeX Additional ways to cite the dataset.
Swedish dependency parsing with Stanza trained on Sweedish treebank

In 2020, the Stanza tool was trained and tested on TalbankenSBX (following MambaDep-style annotation) in order to create a high-quality analysis. Currently (in 2024), this is the default analysis for Swedish in 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 lines under export.annotations in the Sparv corpus configuration file:

- <token>:stanza.dephead_ref  # Sentence-relative positions of the dependency heads
- <token>:stanza.deprel  # Dependency relations to the head
- <token>:stanza.ref  # Token IDs relative to their sentences

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

Example output:

<token dephead_ref="3" deprel="SS" ref="1">Det</token>
<token dephead_ref="1" deprel="HD" ref="2">här</token>
<token deprel="ROOT" ref="3">är</token>
<token dephead_ref="5" deprel="DT" ref="4">en</token>
<token dephead_ref="3" deprel="SP" ref="5">korpus</token>
<token dephead_ref="3" deprel="IP" ref="6">.</token>

Evaluation results

A model trained on TalbankenSBX_train and validated on TalbankenSBX_dev yields Labelled Attachment Score of 84.48 on TalbankenSBX_test.

Other references

Type

  • Analysis

Task

  • dependency parsing

Unit

  • token

Dependencies

External tools

Stanza
Apache License 2.0

Models

Stanzasynt
CC BY 4.0

Tagset

Trained on

Keyword

  • stanza

Created

2020-12-07

Updated

2022-08-10

Contact

sb-info@svenska.gu.se