from vaderSentimentGER import SentimentIntensityAnalyzer
analyser = SentimentIntensityAnalyzer()
def sentiment_analyzer_scores(sentence):
score = analyser.polarity_scores(sentence)
print("{:-<40} {}".format(sentence, str(score)))
sentiment_analyzer_scores("Die Kaffeemaschine ist schlecht")
Die Kaffeemaschine ist schlecht--------- {'neg': 0.5, 'neu': 0.5, 'pos': 0.0, 'compound': -0.4588}