Hoppa till huvudinnehåll

sbx-eng-namedentity-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-namedentity-stanford (uppdaterad: 2026-05-12). [Analysis]. Bearbetad och distribuerad av Språkbanken. https://doi.org/10.23695/rhsq-qv24
BibTeX Ytterligare sätt att citera datamängden.
Namnigenkänning (NER) med Stanford CoreNLP för engelska

Namnigenkänning (NER) gör det möjligt att märka upp namnentiteter (som t.ex. personnamn, organisationer, ortnamn) i texten. Stanford CoreNLP märker upp tokens med namn-entitetstyper som t.ex. PERSON, DATE, CITY etc. Notera att till skillnad från andra namnigenkännare som används i Sparv, lägger Stanford CoreNLP inte till strukturella annotationer för namn-entiteter som består av flera tokens.

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>:stanford.ne_type  # Named entitiy types from Stanford Parser

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>The</token>
<token ne_type="NATIONALITY">Swedish</token>
<token ne_type="TITLE">chemist</token>
<token ne_type="PERSON">Alfred</token>
<token ne_type="PERSON">Bernhard</token>
<token ne_type="PERSON">Nobel</token>
<token>was</token>
<token>born</token>
<token>on</token>
<token ne_type="DATE">21</token>
<token ne_type="DATE">October</token>
<token ne_type="DATE">1833</token>
<token>in</token>
<token ne_type="CITY">Stockholm</token>
<token>.</token>

Övriga referenser

Typ

  • Analys

Enhet

  • token

Licens

MIT

Beroenden

Nyckelord

  • stanford-parser

Skapad

2020-04-24

Uppdaterad

2026-05-12

Kontakt

sb-info@svenska.gu.se