Skip to main content

sbx-swe-posneg_attitude-sparv

Analysis citation Information

Språkbanken Text. sbx-swe-posneg_attitude-sparv [Analysis]. Språkbanken Text. https://doi.org/10.23695/eaq5-k453
BibTeX Additional ways to cite the dataset.
A Sparv plugin which annotates object of positive or negative attitude.

A Sparv plugin that annotates positive and negative attitude in text, more specifically the object that the attitude is directed toward. Please note that the quality of the annotations may vary.

Example

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>:sbx_posneg_attitude.attitude  # POS or NEG if a token is part of an object of attitude, O if it's not.

You also need to install the following plugin: sbx_posneg_attitude.

For general information on how to install plugins, see here.

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

Example output:

  <token attitude="O">Jag</token>
  <token attitude="O">älskar</token>
  <token attitude="B-POS">glass</token>
  <token attitude="I-POS">med</token>
  <token attitude="I-POS">strössel</token>
  <token attitude="O">.</token>

Type

  • Analysis

Task

  • attitude annotation

Unit

  • token

License

MIT

Contact

sb-info@svenska.gu.se