Denna Maltparser model har konfigurerats för svenska och tränats på TalbankenSTB-korpusen.
Citering
Språkbanken Text (2021). swe-dependency-malt-treebank (uppdaterad: 2021-06-01). [Analysis]. Språkbanken Text.Standardreferens
Joakim Nivre, Johan Hall, and Jens Nilsson. 2006. MaltParser: A Data-Driven Parser-Generator for Dependency Parsing. In Proceedings of the Fifth International Conference on Language Resources and Evaluation (LREC’06), Genoa, Italy. European Language Resources Association (ELRA).
Exempel
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>:malt.ref # Token IDs relative to their sentences
- <token>:malt.dephead_ref # Sentence-relative positions of the dependency heads
- <token>:malt.deprel # Dependency relations to the head
For more info on how to use Sparv, check out the Sparv documentation.
Example output:
<token dephead_ref="4" deprel="SS" ref="1">Alfred</token>
<token dephead_ref="1" deprel="HD" ref="2">Bernhard</token>
<token dephead_ref="1" deprel="HD" ref="3">Nobel</token>
<token deprel="ROOT" ref="4">var</token>
<token dephead_ref="8" deprel="DT" ref="5">en</token>
<token dephead_ref="8" deprel="AT" ref="6">svensk</token>
<token dephead_ref="8" deprel="CJ" ref="7">kemist</token>
<token dephead_ref="9" deprel="DT" ref="8">och</token>
<token dephead_ref="4" deprel="SP" ref="9">stiftare</token>
<token dephead_ref="9" deprel="ET" ref="10">av</token>
<token dephead_ref="10" deprel="PA" ref="11">Nobelpriset</token>
<token dephead_ref="4" deprel="IP" ref="12">.</token>
Utvärderingsresultat
Labelled Attachment Score 0.78 (using the TalbankenSBX train-dev-test split)
Övriga referenser
Maltparser: https://www.maltparser.org/download.html
https://aclanthology.org/2021.nodalida-main.20/