How can I find the Word List or dictionary with Polarity Score of TextBlob?

80 Views Asked by At

I need the total list or dictionary with Polarity Score of TextBlob. I search many online sites but can not find the list. I know the way to get polarity of a sentence or word. How can I find that?

2

There are 2 best solutions below

0
Samrat Alam On BEST ANSWER

Here, In thisLink, you can find around 2900+ words with polarity, subjectivity, intensity, and meaning(sense) of TextBlob.

5
Pavan Chandaka On

As we did not see a direct api function, may be you can try this. You said you know the way to get polarity of a word.

Get the complete word list from TextBlob.

Copied from API

from textblob import TextBlob
b = TextBlob("xxxxxxxxxxxxxxxxxxxxxxxxxxx.")
b.words

Now iterate each word, get polarity of each word and prepare your own list.