Back to search

University of Adelaide

Analysis of World War One Diaries using Natural Language Processing

Abstract

dc:description.abstract

World War I was a significant event in Australian history and as such it has been extensively researched. The analysis of relevant primary sources has included the close reading of war diaries. Close reading involves reading the diaries to understand what the soldiers went through. With the advancement of computational techniques, we now have the ability to analyse large volumes of text, and this concept is known as distant reading. This project focuses on 557 Australian World War I diaries collected and transcribed by the State Library of New South Wales, and aims to use distant reading methods to determine what the soldiers wrote about and how they felt over the course of the war. In order to perform our analysis over time, we first needed to extract dates from the diaries. This was done using regular expressions. However, some problems were found in the extracted dates, including missing data such as the month or year, dates which were written incorrectly, and dates that were actually within the text referring to events that happened rather than the date the diaries were written. Hence, an optimisation program was formed to fix these problems and give more accurate information about when the diaries were written. We then considered several types of analysis to understand what the soldiers wrote about, including word frequencies, tf-idf (term frequency - inverse document frequency), and topic modelling. It was found that whilst all three of these techniques gave results that would be expected when considering World War I diaries, they also showed different aspects of the war. In particular, through considering the tf-idf results for 1916 we see many words regarding places and battles in the Middle East. However, when considering topic modelling for this time period we see more words regarding Europe. Sentiment analysis, more specifically dictionary-based methods, was then used to understand the emotions of the soldiers over time. Using our dictionaries, each month was given an overall sentiment score from -1 (very negative) to +1 (very positive). It was found that the average sentiment of the diaries ranged between 0 and 0.2. We were also able to compare this to our topic modelling results to determine which topics corresponded to peaks and dips in our sentiment.

Degree

thesis:*
College dc:contributor.school
School of Mathematical Sciences
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Dennis-Henderson, Ashley Grace
Advisors dc:contributor.advisor
  • Mitchell, Lewis
  • Roughan, Matthew
  • Tuke, Simon

Subjects

dc:subject × 6

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2440/129622

Chain of custody

source
Harvested from
University of Adelaide
Base URL
digital.library.adelaide.edu.au/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Dennis-Henderson, Ashley Grace. Analysis of World War One Diaries using Natural Language Processing. 2020. https://hdl.handle.net/2440/129622