Sentiment analysis for the German language
Switch branches/tags
Nothing to show
Clone or download
Latest commit 066905b Apr 25, 2016
Failed to load latest commit information.
lib Fix utf-8 encoding string Apr 23, 2016
spec Added tests for emoticons and fixed dictionary loading test Jul 11, 2015
.gitignore initial Jun 30, 2015 Update Jun 30, 2015
importer.rb initial Jun 30, 2015
stimmung.gemspec bump version Jul 11, 2015


Simple sentiment analysis for the German language

Gem Version Installs


# use this to init with the default dictionaries
stimmung =

# or this to init with your dictionaries
stimmung ='my_dict1.txt', 'my_dict2.txt', '...')

# you can always load additional dictionaries later on with

# and to get an analysis you just do
stimmung.score('irgendein toller text')
# => 0.5066 

# this score will be between -1 (super negative) and 1 (super positive)


The German dictionary is based on SentiWS.

SentiWS is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License (

The latest version of SentiWS can be found at

You can use the crude importer script to import new files in case there is a new version. Hey why don't you open an issue or make a pull request when that happens too? It would be appreciated :)


gem install stimmung