DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+9 =
Submit