Denna analys använder universal features som ingår i standarden Universal Dependencies.
Citering
Språkbanken Text (2022). swe-msd-stanza-stanzamorph-ufeats (uppdaterad: 2022-08-10). [Analysis]. Språkbanken Text.Morfologisk analys för svenska med universal features (UD) baserad på Stanza
Exempel
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.ufeats # Universal morphological features
For more info on how to use Sparv, check out the Sparv documentation.
Example output:
<token ufeats="|Case=Acc,Nom|Definite=Def|Gender=Neut|Number=Sing|">Det</token>
<token ufeats="|">här</token>
<token ufeats="|Mood=Ind|Tense=Pres|VerbForm=Fin|Voice=Act|">är</token>
<token ufeats="|Definite=Ind|Gender=Com|Number=Sing|">en</token>
<token ufeats="|Case=Nom|Definite=Ind|Gender=Com|Number=Sing|">korpus</token>
<token ufeats="|">.</token>
Övriga referenser
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
TalbankenSBX: https://spraakbanken.gu.se/en/blog/20200609-the-five-lives-of-talbanken
SIC2: https://spraakbanken.gu.se/en/resources/sic2