Evaluating Sentiment Analysis Models on Historical Texts about Black Americans

In this research study, four sentiment analysis models were trained on a dataset consisting of primary source documents about the experiences of Black Americans in the twentieth century, specifically in regards to their migration to the northern United States and racially oppressive legislation in the South. Each model used a different algorithm for sentiment analysis: Multinomial Naive Bayes, support vector machine (SVM), Generated Pre-Trained Transformer-2 (GPT-2), and Bidirectional Encoder Representations from Transformers (BERT). The goal was to determine which algorithm was best able to classify a 20th-century document about Black Americans as having either positive or negative outlook on their experiences. The results of this research, coupled with future, more advanced studies on such algorithmic capabilities, can allow for a more streamlined, objective, and accurate approach to categorizing historical documents, enabling historians to analyze them to generate insights and support arguments with greater speed and efficiency. Among the four algorithms, BERT achieved the highest accuracy rate (100%), followed by SVM and GPT (97%), and Multinomial Naive Bayes had the lowest accuracy rate (95%). However, the imbalanced nature of the dataset in terms of the ratio of positive to negative documents raises concerns about the algorithms being more likely to identify documents as positive. Also, the seemingly overwhelming accuracy of BERT signals that overfitting may have artificially skewed the results

Authors

Institutions

Publication Details

Journal
American journal of student research.
Published
2025-01-01
DOI
https://doi.org/10.70251/hyjr2348.33147154
Primary Topic
Computational and Text Analysis Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating Sentiment Analysis Models on Historical Texts about Black Americans

كاظم ولي آغا
American journal of student research.
Computational and Text Analysis Methods
article

Evaluating Sentiment Analysis Models on Historical Texts about Black Americans

كاظم ولي آغا
article en

Abstract

In this research study, four sentiment analysis models were trained on a dataset consisting of primary source documents about the experiences of Black Americans in the twentieth century, specifically in regards to their migration to the northern United States and racially oppressive legislation in the South. Each model used a different algorithm for sentiment analysis: Multinomial Naive Bayes, support vector machine (SVM), Generated Pre-Trained Transformer-2 (GPT-2), and Bidirectional Encoder Representations from Transformers (BERT). The goal was to determine which algorithm was best able to classify a 20th-century document about Black Americans as having either positive or negative outlook on their experiences. The results of this research, coupled with future, more advanced studies on such algorithmic capabilities, can allow for a more streamlined, objective, and accurate approach to categorizing historical documents, enabling historians to analyze them to generate insights and support arguments with greater speed and efficiency. Among the four algorithms, BERT achieved the highest accuracy rate (100%), followed by SVM and GPT (97%), and Multinomial Naive Bayes had the lowest accuracy rate (95%). However, the imbalanced nature of the dataset in terms of the ratio of positive to negative documents raises concerns about the algorithms being more likely to identify documents as positive. Also, the seemingly overwhelming accuracy of BERT signals that overfitting may have artificially skewed the results

American journal of student research.
Mitsubishi Electric (United States) (US)
Reduced inequalities
Openalex Percentile: Top 80%
Computational and Text Analysis Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Evaluating Sentiment Analysis Models on Historical Texts about Black Americans — كاظم ولي آغا · American journal of student research. (2025) | TGRS Research Map | TGRS