Refer to the following webpage for President Abraham Lincoln’s last public address: https://www.presidency.ucsb.edu/documents/the-presidents-last-public-address Carry out sentiment analysis for this speech using Python’s VADER package using the code available from the following web page: https://www.geeksforgeeks.org/python-sentiment-analysis-using-vader/ You will need to modify this code slightly to make it appropriate to carry out sentiment analysis for the whole speech of President Lincoln at once. The output must be as follows: President Lincoln's Last Address to public: Overall sentiment dictionary is : {'neg': 0.069, 'neu': 0.781, 'pos': 0.1 51, 'compound': 0.9996} President Lincoln's Speech was rated as 6.9 % Negative President Lincoln's Speech was rated as 78.10000000000001 % Neutral President Lincoln's Speech was rated as 15.1 % Positive President Lincoln's Last Address to public is Overall Rated As Positive
Refer to the following webpage for President Abraham Lincoln’s last public address:
https://www.presidency.ucsb.edu/documents/the-presidents-last-public-address
Carry out sentiment analysis for this speech using Python’s VADER package using the code available from
the following web page:
https://www.geeksforgeeks.org/python-sentiment-analysis-using-vader/
You will need to modify this code slightly to make it appropriate to carry out sentiment analysis for the
whole speech of President Lincoln at once. The output must be as follows:
President Lincoln's Last Address to public:
Overall sentiment dictionary is : {'neg': 0.069, 'neu': 0.781, 'pos': 0.1
51, 'compound': 0.9996}
President Lincoln's Speech was rated as 6.9 % Negative
President Lincoln's Speech was rated as 78.10000000000001 % Neutral
President Lincoln's Speech was rated as 15.1 % Positive
President Lincoln's Last Address to public is Overall Rated As Positive
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images