Skip to main content

sbx-swe-geotagcontext-sparv

Analysis citation Information

Språkbanken Text (2022). sbx-swe-geotagcontext-sparv (updated: 2022-05-18). [Analysis]. Språkbanken Text. https://doi.org/10.23695/tmh1-4e30
BibTeX Additional ways to cite the dataset.
Annotate text chunks with location data, based on locations contained within the text

Text chunks are enriched with place names (and their geographic coordinates) occurring within them. This is based on the place names found by the named entity tagger SweNer. Geographical coordinates are looked up in the GeoNames database. This annotation can be applied to any text chunk, e.g. texts, paragraphs, sentences or tokens.

Example

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:

- :geo.geo_context  # Geographical places with coordinates
- :geo.geo_context  # Geographical places with coordinates
- :geo.geo_context  # Geographical places with coordinates

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

Example output:


  
    
      Varje
      tisdag
      kommer
      en
      leverans
      av
      lådor
      med
      matsvinn
      från
      Ica
      Maxi
      i
      Torslanda
      till
      förskolan
      i
      Göteborg
      .
    
  

Accessible through

Access Platform Licence
CC-BY-4.0

Type

  • Analysis

Task

  • geotagging

Unit

  • text

Licence

MIT

Created

2018-05-28

Updated

2022-05-18

Contact

sb-info@svenska.gu.se