Hoppa till huvudinnehåll

sbx-eng-dependency-stanford

Standardreferens Information

Manning, Christopher D., Mihai Surdeanu, John Bauer, Jenny Finkel, Steven J. Bethard, and David McClosky. 2014. The Stanford CoreNLP Natural Language Processing Toolkit In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pp. 55-60.

Analyscitering Information

Språkbanken (2026). sbx-eng-dependency-stanford (uppdaterad: 2026-05-12). [Analysis]. Bearbetad och distribuerad av Språkbanken. https://doi.org/10.23695/59be-ze27
BibTeX Ytterligare sätt att citera datamängden.
Dependensparsning med Stanford CoreNLP's standardmodell för engelska

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>:stanford.ref  # Token IDs relative to their sentences
- <token>:stanford.dephead_ref  # Sentence-relative positions of the dependency heads
- <token>:stanford.deprel  # Dependency relations to the head

In order to use this annotation you need to add the following setting to your Sparv corpus configuration file:

metadata:
  language: eng

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

Example output:

<token dephead_ref="5" deprel="nsubj" ref="1">Language</token>
<token dephead_ref="5" deprel="cop" ref="2">is</token>
<token dephead_ref="5" deprel="det" ref="3">the</token>
<token dephead_ref="5" deprel="amod" ref="4">human</token>
<token deprel="ROOT" ref="5">ability</token>
<token dephead_ref="7" deprel="mark" ref="6">to</token>
<token dephead_ref="5" deprel="acl" ref="7">acquire</token>
<token dephead_ref="9" deprel="cc" ref="8">and</token>
<token dephead_ref="7" deprel="conj" ref="9">use</token>
<token dephead_ref="11" deprel="amod" ref="10">complex</token>
<token dephead_ref="7" deprel="obj" ref="11">systems</token>
<token dephead_ref="13" deprel="case" ref="12">of</token>
<token dephead_ref="11" deprel="nmod" ref="13">communication</token>
<token dephead_ref="5" deprel="punct" ref="14">.</token>

Övriga referenser

Typ

  • Analys

Uppgift

  • dependensparsning

Enhet

  • token

Licens

MIT

Beroenden

Taggmängd

UD

Nyckelord

  • stanford-parser

Skapad

2020-04-24

Uppdaterad

2026-05-12

Kontakt

sb-info@svenska.gu.se