FROM TEXT TO TECH 

This strand is offered in collaboration with the Barcelona Supercomputing Center.

Workshop abstract

This hands-on workshop offers an introduction to natural language processing in Python, from processing texts to extracting meaning from them, as well as the basics of automated semantic analysis with machine learning. 

We will focus on practical applications (from preprocessing texts to enriching them with linguistic knowledge via part-of-speech tagging or syntactic parsing) and we will show how to work with raw, semi-structured, and tabular data. 

We will also provide an overview of semantic analysis using word embeddings, and how this technique can be used for a large variety of humanities research, such as tracking semantic change or understanding biases in a corpus. 

At the end of the workshop, participants will have acquired basic practical skills and knowledge on how Python can be used for processing humanities textual data. 

You will leave with an understanding of key aspects of natural language processing and how these can be applied to their research in the humanities.

Learning objectives

  • Gain practical experience in processing textual data using Python.
  • Learn essential techniques for extracting meaning from texts.
  • Acquire proficiency in working with various types of data, such as raw, semi-structured, and tabular data.

Course level

Beginner.

Convenors

Federico Nanni

Federico is a Senior Research Data Scientist at The Alan Turing Institute, working as part of the Research Engineering Group. He has a background in Natural Language Processing and Information Retrieval, with a focus on their applications in various research contexts, from Digital Humanities to Digital Libraries to Computational Social Science. 

Prior to joining the Institute, he completed a PhD in History of Technology at the University of Bologna. He then worked for five years at the Data and Web Science Group of the University of Mannheim. He also spent time as a visiting researcher at the Foundation Bruno Kessler, Aarhus University and the University of New Hampshire.

Since joining the Turing, Federico has worked for four years on the Living with Machines project and on AI Safety research.

Kaspar Beelen

Kaspar Beelen is a digital historian at the School of Advanced Study, University of London, who explores the application of machine learning to humanities research.

After obtaining his PhD in History (2014) at the University of Antwerp he worked as a postdoctoral fellow at the University of Toronto.

As a researcher on the Digging into Linked Parliamentary Data (Dilipad) project, he published several papers situated at the interface of data science, political science and history, which explored a wide range of topics including the representation of women in Westminster, the evolution of public health discourse, and the use of effect in parliamentary language.

In 2016, Kaspar moved to the University of Amsterdam where he first worked as a postdoc for the Information and Language Processing Systems group and later became an assistant professor in Digital Humanities (Media Studies).

Between 2019-2023, Kaspar worked at the Turing Institute as a research associate for the Living with Machines project. Currently, he is the Digital Humanities Technical Lead at the School of Advanced Study, University of London.

Mariona Coll Ardanuy

Mariona Coll Ardanuy is an established researcher at the Computational Humanities group of the Barcelona Supercomputing Center. She is a computational linguist interested in the application of natural language processing methods to humanities research.

Mariona has a background in linguistics and received a PhD in Computer Science from the University of Göttingen. She has experience both in the academic and the private sector. During her PhD, she worked as a researcher at the Trier and Göttingen centres for Digital Humanities. After that, she spent two years at an AI company, prior to joining the Alan Turing Institute as a research associate for the Living with Machines project (2019-2023), where she focused on developing methods for exploring and mining nineteenth-century digitised newspapers. She has also been a post-doctoral researcher at the Pattern Recognition and Human Language Technology research centre of the Universitat Politècnica de València.

 

Workshop programme

Monday 24th August

Registration 08:00 - 08:45 hours

Exact timings are subject to change before summer school commences.

09:00 - 10:30: Opening Keynote: Information & Interaction: Scholarship at the Nexus of (Hu)Man and Machine

Abstract: The Digital Humanities are a broad community. It embraces methodological diversity, and brings together domain experts from across the wide landscape of the Humanities. Events such as the DHOxSS stand as testament to the richness of the field, and present us with unique opportunities for information exchange, knowledge acquisition, and upskilling. This talk takes a moment to recognise the community of DHers that has contributed to a body of work that uses the Linked Data information publication paradigm with datasets from the Humanities. These projects are case study examples that celebrate the ways in which the Digital Humanities are not just about developing computational systems, but also about the immense value and effect of human infrastructure as part of our research.

Speaker: Dr Terhi Nurmikko-Fuller (RMIT University)

Dr Terhi Nurmikko-Fuller is an Associate Professor, Information Interaction at the School of Computing Technologies at RMIT University in Melbourne, Australia.

10:30 - 11:00 Refreshment break 

11:00 - 12:30 Introduction to programming in Python

Abstract: The session provides a basic introduction to programming for digital humanities using the Python language. 

Among the topics covered are assignments and variables, data types, conditional statements, and reading/writing data.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni

12:30 - 14:00 Lunch

14:00 - 15:30 Introduction to programming in Python (cont.)

Abstract:The session provides a basic introduction to programming for digital humanities using the Python language. Among the topics covered are assignments and variables, data types, conditional statements, and reading/writing data

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni

15:30 - 16:00: Refreshment break

16:00 - 17:00: Introduction to programming in Python (continued)

Abstract: The session provides a basic introduction to programming for digital humanities using the Python language. Among the topics covered are assignments and variables, data types, conditional statements, and reading/writing data.

 

Tuesday 25th August

09:00 - 10:30: Basic Text Processing with Python

Abstract: The session gives an introduction to working with text data in Python. Topics include simple regular expressions and other methods for handling text data.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni

10:30 - 11:00: Refreshment break

11:00 - 12:30: Data Structures in Python

Abstract: This session will cover basic data structures like lists and dictionaries in Python, with practical examples.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni

12:30 - 14:00: Lunch

14:00 - 15:30: Exercises and Catching-up

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni

15:30 - 16:00: Refreshment break

16:00 - 17:00: Exercises and catching-up session

Wednesday 26th August

09:00 - 10:30: Working with Tabular Data

Abstract: This session gives an introduction to working with tabular data. It shows how to access data via APIs and analyse the content with Pandas.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni

10:30 - 11:00: Refreshment break

11:00 - 12: 30: Working with Tabular Data (cont.)

12:30 - 14:00: Lunch

14:00 - 15:30: Exercises and Catching-up

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni

15:30 - 16:00: Refreshment break

16:00 - 17:00: Exercises and catching-up session

Thursday 27th August

09:00 - 10:30: Introduction to Natural Language Processing in Python

Abstract: This session provides an introduction to natural language processing in Python, with a focus on text preprocessing, covering tasks such as lemmatization, part-of-speech tagging and named entity recognition.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni.

10:30 - 11:00: Refreshment break

11:00 - 12:30: Introduction to Natural Language Processing in Python (cont.)

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni.

12:30 - 14:00: Lunch

14:30 - 15:30: Introduction to Language Modelling

Abstract: In this session, we offer an introduction to language modelling and its central role in current natural language processing research.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni.

15:30 - 16:00: Refreshment break

16:00 - 17:00: Exercises and catching-up session

 

Friday 28th August

09:00 - 10:30: Word Embeddings

Abstract: We offer a kind introduction to semantic analysis with word embeddings. We show how this technique can be used for humanities research, such as tracking semantic change or understanding biases in a corpus.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni.

10:30 - 11:00: Refreshment break

11:00 - 12:30: LLMs

Abstract: This session introduces contextualized word embeddings and LLMs, and shows how to use them for different tasks.

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni.

12:30 - 14:00: Lunch

14:00 - 15:00: Questions and open discussion

Speakers: Kaspar Beelen, Mariona Coll Ardanuy, Federico Nanni.

15:00 - 15:30: Refreshment break

15:30-17:00 Closing Keynote: AI, Archives, and the Synthetic Past

Abstract: What counts as the past when AI can generate voices, personas, and narratives from archival and digital traces? This presentation examines how artificial intelligence is reshaping relationships between memory, archives, and historical representation, and asks how these technologies are changing the ways the past is experienced in the present. Drawing on the Leverhulme Trust-funded research project Synthetic Pasts - including our critical-creative research on “AI afterlives” - the talk explores how computational systems simulate, mediate, distort, and commercialise forms of remembrance and cultural memory. It then invites digital humanities researchers to reflect on the conceptual, ethical, and methodological challenges that follow.

Speaker: Dr Jenny Kidd (University of Cardiff)

Dr. Jenny Kidd is a Reader in the School of Journalism, Media and Culture at Cardiff University and researches in the interdisciplinary fields of Digital Heritage and Digital Culture.