As we get the wiki articles we want to calculate sentiment of each one. One easy NLP library is TextBlob. TextBlob contains a basic polarity method rating articles from -1 to 1. Here is a basic example of how to use it

#pip install TextBlob
from textblob import TextBlob

For the Assignment Calculate the Overall Polarity for at least 5 different pages on wikipedia. Try to find them in different genres (politics, history, science, celebrity, etc) Report on their totals.

Don't use plagiarized sources. Get Your Custom Essay on
Just from $13/Page
Order Essay

Try to construct your own very positive sentences and your own very negative sentences (try 2-3 of each). Report how it does.

Homework Writing Bay

Calculate the price of your paper

Total price:$26
Our features

We've got everything to become your favourite writing service

Need a better grade?
We've got you covered.

Order your paper