Lemmatisering med Stanzas standardmodell för engelska
Citering
Språkbanken Text (2022). eng-lemmatization-stanza (uppdaterad: 2022-08-10). [Analysis]. Språkbanken Text.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.baseform # Baseform from Stanza
For more info on how to use Sparv, check out the Sparv documentation.
Example output:
<token baseform="this">This</token>
<token baseform="be">is</token>
<token baseform="a">a</token>
<token baseform="corpus">corpus</token>
<token baseform="contain">containing</token>
<token baseform="some">some</token>
<token baseform="word">words</token>
<token baseform=".">.</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