Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

analyser.polarity_scores get only positive

sid = SentimentIntensityAnalyzer()
ss = sid.polarity_scores(sentence)['pos'] # the positive score
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #positive
ADD COMMENT
Topic
Name
3+9 =