DOI: 10.5281/zenodo.3365605
title: Polarity Shifter Resources

description: This repository was created as part of Marc Schulder's doctoral thesis <em>Sentiment Polarity Shifters: Creating Lexical Resources through Manual Annotation and Bootstrapped Machine Learning</em> The collection of polarity shifter resources presented herein is also connected to a number of publications: <strong>Schulder et al. (IJCNLP 2017):</strong> Lexicon of English Verbal Shifters (bootstrapped, lemma-level) and sentiment verb phrase dataset. <em>doi: 10.5281/zenodo.3364812</em> <strong>Schulder et al. (LREC 2018):</strong> Lexicon of English Verbal Shifters (manual, sense-level). <em>doi: 10.5281/zenodo.3365288</em> <strong>Schulder et al. (COLING 2018):</strong> Lexicon of German Verbal Shifters (bootstrapped, lemma-level). <em>doi: 10.5281/zenodo.3365370</em> <strong>Schulder et al. (LREC 2020):</strong> Lexicon of Polarity Shifting Directions (supervised classification, lemma-level). <em>doi: 10.5281/zenodo.3545947</em> <strong>Schulder et al. (JNLE 2020):</strong> General Lexicon of English Shifters (bootstrapped, lemma-level). <em>doi: 10.5281/zenodo.3365601</em> <strong>Data</strong> The repository contains the following resources: A general lexicon of English polarity shifters, covering verbs, adjectives and nouns. Provides lemma labels for shifters and for which polarities they can affect. A lexicon of English verbal shifters. Provides word sense labels for shifters and their shifting scopes. A lexicon of German verbal shifters. Provides lemma labels for shifters. A set of verb phrases annotated for shifting polarities. <strong>1. English Shifter Lexicon (Lemma)</strong> A lexicon of 9145 English words, annotated for whether they are polarity shifters and which polarities they affect. The lexicon is based on the vocabulary of WordNet v3.1 (Miller et al., 1990). It contains 2631 shifters and 6514 non-shifters. File: <code>shifters.english.all.lemma.txt</code> The lexicon is a comma-separated value (CSV) table. Each line follows the format <code>POS,LEMMA,SHIFTER_LABEL,DIRECTION_LABEL,SOURCE</code>. <code>POS</code>: The part of speech of the word (<code>verb</code>, <code>noun</code>, <code>adj</code>) <code>LEMMA</code>: The lemma representation of the word in question. Multiword expressions are separated by an underscore (<code>WORD_WORD</code>). <code>SHIFTER_LABEL</code>: Whether the word is a polarity shifter (<code>SHIFTER</code>) or a non-shifter (<code>NONSHIFTER</code>). <code>DIRECTION_LABEL</code>: Whether the shifter affects only positive polarities (<code>AFFECTS_POSITIVE</code>), only negative polarities. (<code>AFFECTS_NEGATIVE</code>) or can shift in both directions (<code>AFFECTS_BOTH</code>). Non-shifters are all labeled (<code>NONE</code>). <code>SOURCE</code>: Whether the word was part of the gold standard. (<code>GOLD_STANDARD</code>) or was bootstrapped (<code>BOOTSTRAPPED</code>). Note that while bootstrapped shifter labels are verified by a human annotator, their direction label is automatically classified without verification. <strong>2. English Verbal Shifter Lexicon (Word Sense)</strong> A lexicon of word senses of English verbs, annotated for whether they are polarity shifters and their shifting scope. The lexicon covers all verbs of WordNet v3.1 (Miller et al., 1990) that are single word or particle verbs. Polarity shifter and scope labels are given for each lemma-synset pair (i.e. each word sense of a lemma). The data is presented in the following forms: A complete lexicon of all verbal shifters and their shifting scopes. Two auxiliary lists containing simplified information: A list of all lemmas with shifter labels A list of all word senses with shifter labels All files are in CSV (comma-separated value) format. <strong>2.1. Complete Lexicon</strong> The main lexicon lists all verbal shifters and their shifting scopes. Verbal shifters are modeled as lemma-sense pairs with one or more shifting scopes. The lexicon lists all lemma-sense pairs that are verbal shifters. Any lemma-sense pair not listed is not a verbal shifter. When a lemma-sense pair has more than one possible scope, a separate entry is made for each scope. File name: <code>shifters.english.verb.sense.csv</code> Each line contains a single lemma-sense-scope triple, using the format <code>LEMMA,SYNSET,SCOPE</code>. <code>LEMMA</code>: The lemma representation of the verb in question. Multiword expressions are separated by an underscore (<code>WORD_WORD</code>). <code>SYNSET</code>: The numeric identifier of the synset, commonly referred to as <em>offset</em> or <em>database location</em>. It consists of 8 digits, including leading zeroes (e.g. <code>00334568</code>). <code>SCOPE</code>: The scope of the shifting: <code>subj</code>: The verbal shifter affects its subject. <code>dobj</code>: The verbal shifter affects its direct object. <code>pobj_*</code>: The verbal shifter affects objects within a prepositional phrase. The preposition in question is included in the annotation. For example a <em>from</em>-preposition scope receives the label <code>pobj_from</code> and a a <em>for</em>-preposition receives <code>pobj_for</code>. <code>comp</code>: The verbal shifter affects a clausal complement, such as infinitive clauses or gerunds. <strong>2.2. List of Lemmas</strong> List of all verb lemmas and whether they are shifters in at least one of their word senses. Does not provide shifter scope information. Many verbal shifter lemmas only cause shifting in some of their word senses. This list is therefore considerably more coarse-grained than the main lexicon. It is intended as a convenience measure for quick experimentation. File name: <code>shifters.english.verb.sense.lemmas_only.csv</code> Each line follows the format <code>LEMMA,SHIFTER_LABEL</code>. <code>LEMMA</code>: The lemma representation of the verb in question. Multiword expressions are separated by an underscore (<code>WORD_WORD</code>). <code>SHIFTER_LABEL</code>: Whether the verb is a polarity shifter (<code>SHIFTER</code>) or a non-shifter (<code>NONSHIFTER</code>). <strong>2.3. List of Synsets</strong> List of all synsets and whether their lemmas are shifters in this specific word sense. Does not provide shifter scope information. Shifting is shared among lemmas of the same word sense. This list, therefore, provides (almost) the same granularity for the shifter label as the main lexicon. However, in a few exceptions, synsets contained words with subtly different senses that did not all cause shifting. These senses are considered shifters in this list, analogous to the generalization in the list of lemmas. File name: <code>shifters.english.verb.sense.synsets_only.csv</code> Each line follows the format <code>SYNSET,SHIFTER_LABEL</code>. <code>SYNSET</code>: The numeric identifier of the synset, commonly referred to as <em>offset</em> or <em>database location</em>. It consists of 8 digits, including leading zeroes (e.g. <code>00334568</code>). <code>SHIFTER_LABEL</code>: Whether the verb is a polarity shifter (<code>SHIFTER</code>) or a non-shifter (<code>NONSHIFTER</code>). <strong>3. German Verbal Shifter Lexicon (Lemma)</strong> A lexicon of 2595 German verbs, annotated for whether they are polarity shifters and which polarities they affect. The lexicon is based on the vocabulary of GermaNet (Hamp and Feldweg, 1997). It contains 677 shifters and 1918 non-shifters. File: <code>shifters.german.verb.lemma.txt</code> The lexicon is a comma-separated value (CSV) table. Each line follows the format <code>LEMMA,SHIFTER_LABEL,SOURCE</code>. <code>LEMMA</code>: The lemma representation of the verb in question. Multiword expressions are separated by an underscore (<code>WORD_WORD</code>). <code>SHIFTER_LABEL</code>: Whether the verb is a polarity shifter (<code>SHIFTER</code>) or a non-shifter (<code>NONSHIFTER</code>). <code>SOURCE</code>: Whether the word was part of the gold standard. (<code>GOLD_STANDARD</code>) or was bootstrapped (<code>BOOTSTRAPPED</code>). In either case the verbs were verified by a human annotator. <strong>4. Sentiment Verb Phrases</strong> A set of verb phrases, annotated for the polarity of the verb phrase and the polarity of a polar noun that it contains. Can be used to evaluate whether a polarity classifier correctly recognizes polarity shifting. The file starts with 400 phrases containing shifter verbs, followed by 2231 phrases containing non-shifter verbs. File: <code>sentiment_phrases.txt</code> Every item consists of: The sentence from which the VP and the polar noun were extracted. The VP, polar noun and the verb heading the VP. Constituency parse for the VP. Gold labels for VP and polar noun by a human annotator. Predicted labels for VP and polar noun by RNTN tagger (Socher et al., 2013) and <code>LEX_gold</code> approach. Items are separated by a line of asterisks (*)
description: This work was partially supported by the German Research Foundation (DFG) under grants RU 1873/2-1 and WI4204/2-1.