Assignment 5 : Mahima Singh

Morbid warning.

After doing research for a project for my Natural Language Processing class, I came across this database of the Last Statement of inmates on death row in Texas.

I decided to scrape the website, pull out the last statements and figure out what the most used words were. You can find the code on my GitHub here.

As we can guess, by the end of their time, an inmate does think of their family.
The word ‘Love’ is used the most, followed by ‘Family’. Other words relating to retribution such as ‘God’ and ‘Sorry’ also make the top-15 list.

Here is the full data that is available on the site.  The “Info” column will give you information on the inmate and the crimes the committed and the “Link” column will take you to the text of their last statement.


FactTexas was the first state in the world to carry out an execution by lethal injection in 1982