allonguy
allonguy

Reputation: 1

Using Sentiwordnet with TextBlob

Is there a way I can conduct sentiment analysis with TextBlob, as NLP, using Sentiwordnet, as it's corpora database?

Currently, I believe TextBlob is using other corpora databases to do sentiment analysis from the download_corpora.py, but I do not know which ones are actually being used for the analysis.

(I know I can use NLTK, but I find TextBlob more powerful, as it calls NLTK.)

Upvotes: 0

Views: 720

Answers (1)

pheeper
pheeper

Reputation: 1527

I believe what OP is asking is, is there a SentiWordNet model NLTK that can be used in TextBlob.

Out of the box, the answer is no.

From TextBlob's wiki: The textblob.sentiments module contains two sentiment analysis implementations, PatternAnalyzer (based on the pattern library) and NaiveBayesAnalyzer (an NLTK classifier trained on a movie reviews corpus). https://textblob.readthedocs.io/en/latest/advanced_usage.html#sentiment-analyzers

Upvotes: 0

Related Questions