Transkribus – The Best Idea to Procrastinate I’ve Ever Had

When I started my dissertation project a few years ago, I was looking for proper tools to transcribe handwritings like this:

Extracted from: Bassermann, Heinrich: Predigt zu Mk 11,1-10 (Der rechte Adventsjubel der christlichen Gemeinde), Heidelberg (Universität), 3. Dezember 1893 (1. Advent), UBHD Heid.Hs. 3895 II B 5,235 – Source: University Library Heidelberg, (CC BY-SA 3.0 DE)

My first naive idea was to google “handprint character recognition” with the thought: “If my tablet can transform my handwritten texts to a computer font (e.g. pen input in OneNote), there must be a powerful software for handwritten documents.” I don’t know what to say: I found Transkribus and left it untouched. What a mistake…

At this time, the reasons were simple: I was not interested in publishing a source edition, so the trouble to transcribe c. 100 pages to train an HTR-model seemed too high and too much of an effort. My personal cost-benefit analysis brought me to the decision to read the texts exemplarily, excerpt some of them, and use what you get. Without any doubt, I got many interesting insights into sermons of the 19th century and I was able to elaborate a relevant issue. But 15-20 sermons out of c. 300 are a sad foundation for – until now – unknown literary remains.

Then, I slowly slid into the Digital Humanities and I visited again. Handy tip: If you work with handwritten papers for a long time and you want to finish your work, never – trust me – never ever visit this page! I became nostalgic, looked back to the times when I made methodic decisions, and thought: “Oh, Transkribus, I did you wrong!” But doctorates also end and I decided to relinquish it.

A few weeks ago, I finished another paragraph of my thesis. The motivation to write along was very low and procrastination started. After I finished watching all videos on YouTube and reading everything on Wikipedia, I felt the urge to do something useful. … … …

The download and setup were pretty easy and for test purposes, I uploaded some pages of the sermon corpus. My first aha moment concerns the Layout Analysis Tool. Detecting lines and a text’s baselines is a huge simplification of the transcription process.  Transkribus highlights the line you are working on, so the document “moves” along with the text editor. By doing so, the software helps you to stay focused on the relevant parts of the document.

Now, I decided to test the thing to the utmost. I uploaded more than 2400 pages and asked for the opportunity to train an HTR model. My next moment of blank astonishment was the support: fast, friendly, collegial. I have a problem, they have the solution. What more could one want? The decision to train the model was founded upon the realization that I already transcribed a big amount of pages and had to transcribe some more for the thesis.

To make it short: I transcribed some pages, trained the model, tested it, and smiled… transcribed more pages, trained a new model, tested it, and smiled some more. That’s it!

Of course you want to see results and %-values of the CER (Character Error Rate). The transcribed corpus with 31,024 words reached a CER on the train set of 8.44% and a CER on a test set of randomly selected pages reached a value of 10.88%. I must confess that the results could be better, if I would have transcribed more conscientious and with a lower rate of careless mistakes.

Screenshot: Information about the HTR model in Transkribus

The results look “okay” but, in fact, the transcriptions are not suitable to publish without further editorial work. However, I realized that an “okay”-result makes corrections easier and accelerates manual transcribing. In some cases, the HTR even recognized words correctly, which I was not able to make out at first view. In other cases, it constantly repeated the same mistakes. “Jesus heals the sick (die Kranken)” became “Jesus heals the Franks (die Franken).”

The example of mistaking the letters “K” and “F” (they are very similar in Bassermann’s hand) meant that in many cases of mistaking a “search and replace” revision raised the quality of the transcriptions. As mentioned above, the goal of the Transkribus test was not to produce a source edition. Primarily, I wanted to get an overview of the sermon corpus and find important keywords. In the example below, you can see a typical manuscript page and a – unfortunately – very bad transcription page.

Extracted from: Bassermann, Heinrich: Predigt zu Ex 3,1-10 (Wie die Ehrfurcht vor dem Göttlichen über den Menschen Macht gewinnt?), Heidelberg (Universität), 10. Februar 1907 (Estomihi), UBHD Heid.Hs. 3895 II B 5,375– Source: University Library Heidelberg, (CC BY-SA 3.0 DE); transcription by Transkribus with the HTR model Bassermann_0.4

What matters to me are the words of a specific “sermon language” like “Frömmigkeit” (piety) or “Religion.” “Frömmigkeit” is misspelled by a single m, which resulted from the single m being overlined in the manuscript. The overline doubles the letter and was used to save space or accelerate the writing. For my purpose, it states no problem. With the truncated search of the term “fröm*” the words “frömigkeit, frömmigkeit, frömigkt,” etc. were listed and I got what I wanted: a full text, a searchable document to work with.

Additionally, I was inquisitive about what would happen, if I uploaded the whole corpus to  VoyantTools for a fast and simple linguistic analysis of the corpus (VoyantTools is a great web application for quick analyses and visualizations of digital texts for users without brilliant coding skills). The results were far away from what I expected. They were magnificent! I parted the sermons and divided them into the years of their origins. Then, I displayed the frequency of the usage of the search keyword “fröm|from.” The following visualization is the result.

Screenshot: VoyantTools, frequency of the search keyword “fröm*|from*” by year in Bassermann’s sermons. – For this analysis I used the VoyantTools Server to work offline while sitting in a train. And now the whole work with the corpus lays locally on my PC. Sorry that I can’t link the URL to this graph.

The visualization shows a special and terrific result. The usage of words related to “Frömmigkeit” raises enormously starting in 1901. In the historical context, this is not surprising: during those years, Bassermann started to complain about an increasing unchurching and, of course, he had to support activities to reinforce piety (“Frömmigkeit”) with his sermons.

I’m sure working with the corpus without the technical capabilities of Transkribus would be impossible. Whoever works with manuscripts should take it into account. If the HTR doesn’t bring the results desired, – at least – the Layout Analysis will bring a huge work simplification. And the ground rule remains: the more data, the more correct transcriptions will improve the HTR model and will bring more smiles. I’d be happy to hear your Transkribus experiences!

Cite this blog post
Stefan Karcher (2018, July 20). Transkribus – The Best Idea to Procrastinate I’ve Ever Had. INFODITEX -BLOG. Retrieved May 27, 2024, from

Stefan Karcher

I started using and working with digital methods of text analysis during the work on my doctoral thesis in theology (Homiletics and Church History). A bunch of autographs - more than 10.000 handwritten pages packed up messily in 20 boxes - led me to the question: "How would I ever overview these?" In fact, I didn't! But while I was sorting the documents, forms, letters, lecture manuscripts etc in a new classification scheme for literary remains, I thought a database and analyzing only the metadata could help to find the most important information and sources for my dissertation. So my reflections about digital humanities were born out of necessity. Meanwhile, I made a virtue out of that necessity.

You may also like...

2 Responses

  1. 2018-09-05

    […] Stefan Karcher, Transkribus – The Best Idea to Procrastinate I’ve Ever Had […]

  2. 2019-10-14

    […] Transkribus – The Best Idea to Procrastinate I’ve Ever Had, in: INFODITEX, 20. Juli 2018, Zum Einsatz von Transkribus in der Lehre siehe Tobias Hodel, IMC Leeds Paper: Sending 15th century […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search OpenEdition Search

You will be redirected to OpenEdition Search