Skip to main navigation Skip to main content

J Humanit AI : Journal of Humanities and AI

OPEN ACCESS
ABOUT
Current Issue
ALL ISSUES
PUBLISHING POLICIES
FOR CONTRIBUTORS
E-Submission

Articles

Page Path

Research Article

LLM-ASSISTED MARKUP OF ENTITIES IN TEI: A CASE STUDY

Jonah Causinorcid , Morgan Fuksaorcid , Arne Käfer, Joseph (Sang Wuk) Leeorcid , Clifford Andersonorcid
J Humanit AI 2026;1(3):64–79. Published online: September 30, 2026
Yale University
Corresponding author:  Clifford Anderson,
  • 88 Views
  • 11 Download
  • 0 Crossref
  • 0 Scopus
prev

This paper presents a case study of marking up TEI (Text Encoding Initiative) documents using large language models. We detail our experiments using LLMs for named entity recognition and entity linkage in a corpus of TEI documents. The corpus consists of four journals co-edited by the Swiss-German theologian, Karl Barth (1886–1968). We aimed to enrich the TEI markup by adding XML elements to mark up entities and attributes to link to QIDs on Wikidata. We experimented with using both cloud-based frontier models and local open-source models to enrich a subset of 34 articles from the corpus. After analyzing the outcome using both human reviewers and automated analysis, we indicate where our methodology proved successful and where we encountered problems. We conclude that LLMs can perform named entity recognition and linking in TEI documents, but that the combined financial and labor cost of scaling this procedure to the full corpus would be relatively high without optimizing our current pipeline.

Download Citation

Download a citation file in RIS format that can be imported by all major citation management software, including EndNote, ProCite, RefWorks, and Reference Manager.

Format:

Include:

LLM-ASSISTED MARKUP OF ENTITIES IN TEI: A CASE STUDY
J Humanit AI. 2026;1(3):64-79.   Published online September 30, 2026
Download Citation

Download a citation file in RIS format that can be imported by all major citation management software, including EndNote, ProCite, RefWorks, and Reference Manager.

Format:
Include:
LLM-ASSISTED MARKUP OF ENTITIES IN TEI: A CASE STUDY
J Humanit AI. 2026;1(3):64-79.   Published online September 30, 2026
Close