I’ve been fascinated by the recent presidential nomination debates. Their format, the number of participants, the post debates media frenzy all make for a good show. In the following 2 articles I’ve applied several powerful Text Mining and Natural Language Processing techniques to the transcripts.

In this first article: Dissecting the Presidential Debates with an NLP Scalpel I bundled up topic modeling, sentiment analysis and Automatic summarization to show that NLP methods are relevant to understand not only the candidates and their messages but also the debates topics and how they are addressed accross party lines and candidates.

Sentiment analysis per candidate

You can read the full article on the Open Data Science blog.

In a second article, I apply timemaps methods to visualize the dynamics of the presidential debates. Timemaps are a nifty way to quicly visualize and detect patterns in time series. In the case of the presidential nomination debates, they outline the relative intensity of the debates and the candidates presence or lack of.

The debates transcripts are available as python lists and csv files in this github repository