arXiv:2610.40233cs.CLOct 2026

Manuscript Offprint

arXiv:2610.40233

Mobilizing the Archive: Bitext Extraction at Scale from Archival Documents for Extremely Low-resource Languages

Chutong Meng, Alec J. Bateman, Antonios Anastasopoulos

Abstract

While mining parallel sentences from web pages has proven effective for low-resource machine translation, the majority of the world's languages have little to no web presence. What they do have, though, are resources that are the result of centuries of efforts by linguists, such as grammars, dictionaries, and other documentation materials. We propose extracting translation examples from such linguistic resources, which offer parallel data for languages under-represented online and could potentially scale to thousands more languages. We develop a pipeline to achieve this, leveraging an Optical Character Recognition (OCR) model as well as a vision language model (VLM), to ensure identified content to be aligned with visual layout information. We demonstrate the utility of the extracted bitexts for bootstrapping translation systems across 20 languages, both by training machine translation models and by applying in-context learning for large language models. For in-context learning, we observe improvements of +15.78 and +6.94 chrF2++ over zero-shot translation for into low- and high-resource languages, respectively. 1^{1}

1 Introduction

Modern machine translation (MT) models are typically trained on tens to hundreds of millions of parallel sentences (also termed as bitexts). These data are obtained by aligning parallel documents (Koehn, 2005) or mining from large-scale monolingual web data (Schwenk et al., 2021b; NLLB Team et al., 2022). However, most of the world's languages lack sufficient web data and, consequently, parallel sentences (Joshi et al., 2020), making data scarcity a challenge for underrepresented languages.

Large language models (LLMs) offer a potential alternative through in-context learning, whereby models can adapt to new tasks from a small number of examples provided in context (Brown et al., 2020; Wei et al., 2022). Recent work has used various linguistic resources, such as grammar book excerpts, dictionaries, morphological analyzers, and interlinear glossed text (IGT), to instruct LLMs to translate unseen low-resource languages (Tanzer et al., 2024; Zhang et al., 2024; Ramos et al., 2025). Among these resources, bitext examples appear to provide the largest gains (Aycock et al., 2025), motivating our focus on extracting parallel examples.

Linguistic resource collections can also provide substantially broader language coverage than web-based bitext mining. For example, the DReaM corpus (Virk et al., 2020) contains grammar books, language overviews, and dictionaries covering more than 4,000 languages, whereas large-scale bitext mining typically supports only around 200 languages reliably (NLLB Team et al., 2022). Although linguistic resources contain fewer parallel sentences, often only a few thousand, we show they can still lead to substantial improvements when used as in-context examples for MT (cf., Fig. 1).

Extracting structured data from heterogeneous linguistic resources at scale, however, is challenging. Prior work either relies on resources with predefined machine-readable structure (Hus and Anastasopoulos, 2024; Tanzer et al., 2024), or requires human effort to identify and extract relevant information based on textual and visual formatting cues (Merx et al., 2024; Aycock et al., 2025). Such approaches are difficult to generalize across previously unseen resources with diverse layouts.

Therefore, in this work, we develop an (almost) fully automatic pipeline for extracting bitexts from heterogeneous linguistic resources in PDF format from the DReaM corpus. Our pipeline consists of two stages. First, we apply optical character recognition (OCR) to recover text. Second, we use a vision language model (VLM) to identify parallel sentences using both the OCR output and page

1^{1}Our code and extracted data are publicly available at https://github.com/mct10/mobilizing_the_archive.

MT Performance vs. Mined Bitext Size

Figure

Figure 1: We illustrate the rough relationship between mined bitext size and MT performance, using n11b-200-3. 3B as an example. Archival linguistic resources could extend bitext coverage from around 200 languages to thousands more, while substantially improving few-shot translation quality toward NLLB-level performance.

Bitext from IGT

(37)ebametkopasatnan,sangeran,rotiatnanet
ebamet-kopasa-atnansangeranroti-atnan=et
CONJDIST-DEM-LOCrice-ACCeat/drinksagobread-ACCeat/drink=ET
‘We first ate rice, ate sago [and] bread.’ [SY38]

The English translation 'first' could be replaced by a more literal interpretation 'at that point in time'. Note that metko can be used to refer to geographical location.

Example 38, which was overheard, shows use of -ko when location on a person's body is referred to. (Context: two brothers, Rehan and Kalamang, are fighting.)

(38)rehankalamang-atsuolunggokoraru
R.K-atsuol-un-kokoraruk
R.K-ACCback-INAL-LOCbite
‘Rehan bites Kalamang in his neck.’

Adjacent sentences as bitext

Table 4.7: Question words in Kalamang.

EnglishKalamang rootExample(s)
whonamanQ: namanba? 'who?' A: anba 'me'tamanbona botkin? 'with whom are you going?'namana keve watko tua? 'who lives in that house?'neba mind? 'what is this?'ema nebara paruo? 'what is mother doing?'tamanggara botkin? 'where are you going?'ma tama? 'where is he?'tamatko 'where'
whatneba(lit. 'day where')
wheretama-tamanda an sour taruore? 'how do I say 'fish?'Q: tamandi? 'how are you?' A: bes 'fine'ki puraman? 'how many are you?' (cf. putraman 'sixty')Q: mebanggia botkin? 'how are you going?' A: an john-songia botkin 'I'll go by motor boat'
whytamandi (neba)
whenjol tama
howtamandi
how manypuraman
with whatmebanggia

Figure 2: Examples of incidental bitext in a Kalamang book (Visser, 2016). Blue boxes indicate Kalamang sentences, and green boxes indicate English sentences.

image. Visual information is important because linguistic resources often encode parallelism through visual structure that is lost in plain text, such as IGT, adjacent translations, and parallel columns. Figure 2 shows an example of such incidental bitext. Applying our pipeline to 20 languages, we extract an average of 2,578 bitext examples per language.

References (28)