analyser.polarity_scores get only compound

38

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

Comments

Submit
0 Comments