UCARE: Undergraduate Creative Activities & Research Experiences


Date of this Version


Document Type



* Title: CranchSentimentAnalysis
* Author: Krause, A
* Date: 2020
* Code version: 2.0
* Availability: https://digitalcommons.unl.edu/


(c) 2020 Anna Krause

for 2019-2020 UCARE

produced through Jupyter Notebooks

Text from: http://earlywashingtondc.org/


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.

readME.txt (1 kB)
a README file

CranchSentimentAnalysis.pdf (57 kB)
project in pdf

CranchSentimentAnalysis.ipynb (55 kB)
.ipynb file