Daejeon, July 27–31
This poster introduces MigraAnno, a topic-specific subcorpus of migration- and minority-related discourses from Austrian historical newspapers published between 1703 and 1938. The base corpus includes the monarchistic Wienerisches Diarium and conservative Österreichischer Beobachter, liberal Der Wanderer and Neue Freie Presse, the Catholic-conservative Das Vaterland, the social democratic Arbeiter-Zeitung, the apolitical Illustrierte Kronen Zeitung and the German-nationalist, anti-semitic Deutsches Volksblatt. They were scraped from the DIGITARIUM (Resch et al., 2021) and ANNO (Österreichische Nationalbibliothek, 2021) repositories and post-corrected using the fine-tuned hmbyt-NewsEyeAnno OCR model (Krušić, 2024).
Creating a specialized, topic-specific corpus is essential for answering research questions in the Digital Humanities using qualitative and quantitative analyses. This project addresses the challenge of identifying thematically relevant material in historical newspaper collections, which is difficult due to OCR errors, implicit discourse, inconsistent spelling, and a lack of descriptive metadata (Pfanzelter et al., 2021; Oberbichler & Pfanzelter, 2022). To overcome these obstacles, MigraAnno was created by integrating seeded BERTopic modeling (Grootendorst, 2022), qualitative topic evaluation, and transformer-based relevancy classification. The goal was to develop a reliable, contextually grounded corpus suitable for further historical, linguistic, and computational analysis.
Since historical newspapers frequently incorporate discussions of migration and minority discourse within broader topics such as labor, language, religion, education, and wars (Krušić Brozić, 2025; King & Wood, 2000; Hahn, 2000), context-aware modeling was crucial for capturing implicit discourse. BERTopic was chosen because it uses transformer embeddings and can incorporate seed words, or domain-relevant keywords. This allows relevant topics to be identified while maintaining the exploratory nature of unsupervised learning (Grootendorst, 2024). A separate BERTopic model was trained for each of the eight newspapers across four historical periods. Sentences were used as the modeling unit to maximize granularity. Seed words were organized into categories representing migration terms, minority groups, factors influencing assimilation (e.g., education, religion, and labor), and historical contexts and catalysts of migration (e.g., wars, movements, and epidemics). For each newspaper, the resulting topics were examined through a human-centered evaluation process. The selection of relevant topics was based on semantic coherence, alignment between representative documents and topic labels, and demonstrable relevance to migration- and minority-related discourse.
BERTopic produced 206,557 candidate sentences across all newspapers. However, a qualitative inspection revealed that some sentences were clearly related to migration or minority discourse, while others, such as administrative notices or travel price announcements, shared vocabulary with relevant topics but were irrelevant to the research objectives. These findings demonstrated that topic membership alone was insufficient for defining the corpus, which motivated the integration of a supervised relevancy classification step.
To this end, a stratified sample was manually annotated as either relevant or irrelevant. This sample was then used to fine-tune the GottBERT transformer-based model (Scheible et al., 2024) for relevancy classification, resulting in the fine-tuned MigraAnno-GottBERT-relevancy model (Brozić, 2025a). The model achieved a macro F1 score of 0.93, demonstrating its ability to capture contextual cues of historical German. The model was then applied to all candidate sentences to filter out those that were contextually irrelevant. Consequently, the final MigraAnno corpus comprises 96,871 relevant sentences enriched with metadata, including newspaper title, date, topic label, contextual sentences, category, and relevancy probability.
To mitigate bias and ensure representativeness, it is essential to be transparent about the data, tools, and contextualization of sources, which includes providing metadata and information about the datafication process (Oberbichler & Pfanzelter, 2022). All corpus files, topic models, and the relevancy classifier are openly available via GitHub (Brozić, 2025c; Brozić 2025e), Zenodo (Brozić 2025b), and HuggingFace (Brozić 2025a; Brozić 2025d), promoting FAIR principles (Wilkinson et al., 2016). MigraAnno shows that a focused, interpretable, and reusable, topic-specific corpus can be created from a large, noisy historical newspaper collection using a pipeline that combines transformer-based topic modeling, supervised classification, and human evaluation.
The MigraAnno corpus supports a wide range of Humanities and Digital Humanities analyses, enabling close reading and specialised investigations of migration, minorities, and related social, political, and cultural contexts. It also provides a robust training resource for fine-tuning classifiers and developing semi-supervised or supervised topic models for historical German texts.