News

February 24, 2021 | Alumni

Alumni researchers train AI to read difficult-to-decipher medieval texts

By Rachel Lott

A page of a hand-written medieval manuscript shows ink writing, slightly faded, in old-fashioned letter shapes.

Researchers at U of T and at University College, London, in a team that includes two U of T alumni, are training software called Transkribus to read hand-written Latin, which is often full of strange spellings, hyphenations and abbreviations (photo by fotographo/iStockPhoto)


In a move that could transform manuscript studies, University of Toronto researchers have partnered with a team in the United Kingdom to develop a program that can read and transcribe the handwritten Latin found in 13th-century legal manuscripts.

While scholars have been making digital images of these manuscripts for years, transcribing and comparing these texts is painstaking and tedious work that can take years or even decades to complete. That's because medieval handwriting can often look crabbed and unintelligible, with non-standardized spellings, hyphenations, abbreviations, calligraphic flourishes and any number of distinct “hands.”

But machine-reading software called Transkribus promises to change the field. Using artificial intelligence (AI), the software can theoretically be trained to read any type of handwriting, in any language – and Michael Gervers (PhD 1972), a professor of medieval social and economic history at U of T Scarborough, says it could eventually be applied across medieval studies.

“When – rather than if – the process is successful, it will make an enormous difference to the way medievalists approach their subject,” says Gervers, who is also cross-appointed to the Centre for Medieval Studies in the Faculty of Arts & Science.

Medieval scribes often saved valuable parchment by abbreviating words – sometimes drmtcly

Developed by READ COOP SCE, an international consortium of scholars, scientists and archivists, Transkribus not only digitizes manuscripts and transcribes their contents but “recognizes” idiosyncratic features across multiple manuscripts, thus enabling comparison. The software’s recent successes include the transcription of manuscripts from colonial Mexico, the Hanseatic League and early 20th-century Ireland.

The software first came to Gervers’s attention back in 2016 when it was still getting off the ground. Gervers, who has worked with Latin manuscripts since the 1970s, put together a U of T team including Graeme Hirst, a professor in the department of computer science who works on natural language processing, and alumna Hannah Lloyd (BA 2018 UTSC, MA 2019), now a PhD student in history at Yale University.

They also joined forces with another team already working with Transkribus at University College, London (UCL). Scholars in UCL’s Bentham Project were teaching the software to read 18th-century philosopher Jeremy Bentham’s handwritten papers. By sharing resources for software development, the two teams trained Transkribus more quickly and efficiently.

The teaching process wasn’t easy. Transkribus learns by “looking” at a sample page and comparing it line-by-line with a pre-prepared transcription. Lloyd spent hours selecting text to feed the software.

The team ran into two major problems: hyphens and abbreviations. Medieval scribes often saved valuable parchment by abbreviating words – sometimes dramatically. They would also write up to the very border of the script area before arbitrarily hyphenating whatever word they were on when they ran out of space. Since Transkribus “reads” whole words rather than individual letters, it had to learn to recognize words even when abbreviated or hyphenated.

Clearing those hurdles is now paying off. The new Latin-reading Transkribus is capable of precisely transcribing the peculiar handwriting found in 13th-century Latin legal documents.

Transkribus would also be ideal for Ge’ez, an Ethiopic script that dates back 2,000 years

Though the program is currently trained for Latin legal texts, it’s only a matter of time before it can be adapted to literary texts and more.

Gervers notes that Transkribus would be an ideal program for Ge’ez, an Ethiopic script he has worked with alongside Latin since the 1990s. Largely unchanged over its 2,000-year history, the Ge’ez script was used in one of the earliest known complete Gospel manuscripts and is still used in Ethiopia today.

Gervers says the script is “perfect for machine transcription.” Why? Ge’ez has no abbreviations and conveniently puts colons at the ends of words and sentences.

Don’t miss out!

Update your contact information to be the first to know about exclusive offers. This makes it easy to tell us when your email has changed.

Update my information

Special discounts

Did you know that U of T alumni get deep discounts on attractions, sporting events, car rentals and more? Check back often for new offers.  

Find the latest deals
Close