US Presidential Voices Over the Ages

US Presidential Voices Over the Ages

Analyzing the message, sentiment, & sophistication of words in presidential history using Natural Language Processing & Topic Modeling.

Since the dawn of the United States of America, US presidential speeches have served as both a reflection of the current state of the nation and a call for changes in a direction that the President believes the country should go.

Presidential speeches provide an insight of what the nation’s leaders are thinking and hoping for the nation’s direction, and how they intend to use their power to fuel towards that direction. Their delivery of that information will affect the public’s reception to the message and ability for action to take place.

Using data science techniques and tools for Natural Language Processing and Unsupervised Learning, I set out to better understand Presidents’ use of their speeches’ power by examining the sentiment, sophistication of speech, and focus of content for over 990 presidential speeches. I would then look for trends, patterns, and other insights over time and by political party.

From George Washington’s 1789 First Inaugural Address to Jimmy Carter’s 1977 Address to the Nation On Energy to Donald Trump’s 2019 State of the Union, every president to date (year 2020) has representation in the speeches that were analyzed in this project*.

With that, here are my findings…


Sentiment of US Presidents

Tools used: [TextBlob_](https://textblob.readthedocs.io/en/dev/)_’s polarity and subjectivity

Speech sentiment was measured in two ways: polarity (i.e. more negative/sad in tone to more positive/happy in tone) and subjectivity (i.e. more fact-based to more opinion-based).

Below are the sentiment analysis results where each dot represents a different President and each color represent a political party >

Image for post

Screenshot by Author

As you can see in the graph, there are no strong clusters of colors, meaning there doesn’t seem to be a clear distinction of sentiment of Presidents by party — it seems to be more of a shift by individual.

Here you can see names of Republican Presidents >

Image for post

Screenshot by Author

And here you can see names of Democratic Presidents >

Image for post

Screenshot by Author

From these graphs we can see for example that compared to other US Presidents, Franklin Pierce was on average more negative/sad in tone and more factual in content, while Donald Trump is on average more positive/happy in tone and more opinionated in content.

Keep in mind that polarity and subjectivity does not tell us what that President is saying; a President could be saying something positively but it could have negative impacts on people. This sentiment analysis only tells us how that President is delivering that content and whether they’re using facts or opinions to back their statements.

elections data-science presidential-speeches naturallanguageprocessing us-president

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

What Are The Advantages and Disadvantages of Data Science?

Online Data Science Training in Noida at CETPA, best institute in India for Data Science Online Course and Certification. Call now at 9911417779 to avail 50% discount.

50 Data Science Jobs That Opened Just Last Week

Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments. Our latest survey report suggests that as the overall Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments, data scientists and AI practitioners should be aware of the skills and tools that the broader community is working on. A good grip in these skills will further help data science enthusiasts to get the best jobs that various industries in their data science functions are offering.

Data Science With Python Training | Python Data Science Course | Intellipaat

🔵 Intellipaat Data Science with Python course: https://intellipaat.com/python-for-data-science-training/In this Data Science With Python Training video, you...

Applications Of Data Science On 3D Imagery Data

The agenda of the talk included an introduction to 3D data, its applications and case studies, 3D data alignment and more.

Data Science Course in Dallas

Become a data analysis expert using the R programming language in this [data science](https://360digitmg.com/usa/data-science-using-python-and-r-programming-in-dallas "data science") certification training in Dallas, TX. You will master data...