analyser.polarity_scores get only compound

49

sid = SentimentIntensityAnalyzer()
ss = sid.polarity_scores(sentence)['pos'] # the positive score

Comments

Submit
0 Comments