Shan
Shan

Reputation: 45

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

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?

Upvotes: 3

Views: 131

Answers (2)

Samrat Alam
Samrat Alam

Reputation: 567

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

Upvotes: 1

Pavan Chandaka
Pavan Chandaka

Reputation: 12801

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.

Upvotes: 2

Related Questions