DEV Community

Discussion on: Sentiment analysis on Trump's tweets using Python 🐍

Collapse
 
eh2699 profile image
Kristine Hur

Thanks for the awesome tutorial! I'm new to python and had a quick question though. You mentioned that textblob provides a trained analyzer, and you use that in your tutorial to assess the polarity of Trump's tweets. Can you tell me where I can access the list of words that's associated with positive/negative/neutral? I've been looking on textblob documentation but haven't found it yet.

Collapse
 
rodolfoferro profile image
Rodolfo Ferro

I think that they may not be in the library, since it only has a pre-trained model.

Anyway, you can train your own. This can be useful resources to do so: