Content

Sentiment Lexicon from paired Comparisions (with source code)

Here you can find additional material to the following publication:

About

A sentiment lexicon is a dictionary that assigns each term a polarity score representing the strength of the positive or negative affect associated with the term. We have devised a new method for estimating polarity scores from preference judgements of test persons. Here we provide both the source code for computing the polarity scores and an initial set of 200 German words with their polarities. Moreover, we provide a GUi for extending this lexicon with arbitrary words.

Download

The code for computing the polarity scores requires the R language for statistical computing. The GUI for adding new words requires Python and wxPython.

Available releases (see the file README for usage instructions):

Comment: The sentiment lexicon with 200 words described in the above paper had inherited from SentiWS a double word in two different spellings ("phantasievoll" versus "fantasievoll"). Both words should be replaced by a single word ("fantasievoll") with a score value equal to the average score of the differently spelled words. The GUI wordrating takes care of this since version 1.4.

Authors and license

The source code is copyrighted by Christoph Dalitz and Jens Wilberg, Institute for Pattern Recognition, Niederrhein University of Applied Sciences, Krefeld, Germany. It may be used freely under the terms of the GNU General Public License.

The sentiment lexicon is copyrighted by C. Dalitz and K.E. Bednarek. It may be freely copied and used, provided the paper listed at the top of this page is given as a reference.