Skip to main content

Simple german sentiment

Project description


GerSent is a project that tries to make a relativ good sentiment of a german sentence. Our first approach will be simple techniques like wordlist or interpration to assess the given sentence.

Getting Started

First you have to install our package. pip install gersent

Now you are able to run a simple sentiment analysis over a german sentence.

from gersent import GerSent

ger_senti = GerSent()

print(ger_senti.sentiment('Ich bin ein guter Satz.')




# Die Äpfel schmecken gut.
{'negative': 0.0, 'positive': 0.3716, 'composite': 0.3716}

# Die Äpfel schmecken gut!
{'negative': 0.0, 'positive': 0.39018, 'composite': 0.39018}

# Die Äpfel schmecken gut!!!
{'negative': 0.0, 'positive': 0.42733999999999994, 'composite': 0.42733999999999994}

# Die Äpfel schmecken sehr gut!
{'negative': 0.0, 'positive': 0.39018, 'composite': 0.39018}


# Die Äpfel schmecken nicht gut.
{'negative': -0.0, 'positive': -0.3716, 'composite': -0.3716}



R. Remus, U. Quasthoff & G. Heyer: SentiWS - a Publicly Available German-language Resource for Sentiment Analysis. In: Proceedings of the 7th International Language Ressources and Evaluation (LREC'10), 2010

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gersent, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size gersent-0.0.6-py3-none-any.whl (111.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gersent-0.0.6.tar.gz (103.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page