Open Access. Powered by Scholars. Published by Universities.®

Arts and Humanities Commons

Open Access. Powered by Scholars. Published by Universities.®

Women's History

UCARE Research Products

Text analysis

Articles 1 - 1 of 1

Full-Text Articles in Arts and Humanities

Sentiment Analysis Of William Cranch's Petitions For Freedom Court Reports Using Python And Vader., Anna Krause Apr 2020

Sentiment Analysis Of William Cranch's Petitions For Freedom Court Reports Using Python And Vader., Anna Krause

UCARE Research Products

Text analysis from William Cranch's court reports on the 19th Century African American Petitions for Freedom. Cranch provided selected court reports and their full title, date, and document text was imported to a csv file. This data was then analyzed using Python and its multiple software libraries to clean and prepare the text. The VADER(Valence Aware Dictionary and sEntiment Reasoner) package was utilized to give a sentiment score to each body of text, then was compared and visualized with the entire corpus. Results showed that most court reports carried a high rate of positive sentiment.