1 Overview
The Pluperfect GRAC (PluG) corpus draws from the General Regionally Annotated Corpus of Ukrainian (GRAC) (Shvedova, 2020, 2026; Shvedova et al., 2017), a broad-coverage corpus of Ukrainian texts maintained and expanded by a community of linguists. PluG represents the historical part of GRAC, focusing on works published before 1955 that are now in the public domain. With the rapid development of large language models, we decided to release the historical portion of GRAC in full, with the aim of providing high-quality Ukrainian material for model training and research.
The corpus covers a wide range of historically significant Ukrainian texts. It includes extensive collections of works by the most famous authors such as Taras Shevchenko and Lesia Ukrainka, the first Ukrainian translation of the Bible, and a substantial collection of historical press (Shvedova & Lukashevskyi, 2026). Texts span fiction, journalism, legal texts, original and translated texts, authored by 7,590 unique writers, and drawn from publishing centers across Ukraine, most prominently Kyiv, Lviv, and Kharkiv. Each text is accompanied by rich metadata following the GRAC annotation scheme, including style, genre, orthographic system, date, region, author(s), and publication details1 (see Table 1). The corpus provides broad coverage across time periods and functional styles, as illustrated in Figure 1 and Table 2: predominantly fictional and poetic in the early period, with the diversity of text types increasing over time.
Table 1
PluG metadata fields.
| DIMENSION | ATTRIBUTE | VALUES |
|---|---|---|
| Title | doc.name | Title of the text |
| Year | doc.date | Year of creation |
| Author | doc.author | Author’s first and last name |
| Translator | doc.translator | Translator’s first and last name |
| Author’s metadata | doc.authorSex | M (male), F (female) |
| doc.authorBorn | Birth year | |
| Translator’s metadata | doc.translatorSex | M (male), F (female) |
| doc.translatorBorn | Birth year | |
| Media | doc.mediaName | Title of the media |
| Style | doc.style | FIC (fiction), NOF (non-fiction), POE (poetry), ACA (academic), EGO (ego-texts: diaries, memoirs, blogs), JOU (journalistic), OFF (official), REL (religious), FOL (folklore), etc. |
| Genre | doc.genre | AUT (autobiography), DIA (diary), DRA (drama), EDU (educational), LET (letter), MEM (memoir), etc. |
| Original language | doc.original | UK (Ukrainian), EN (English), DE (German), FR (French), PL (Polish), + 90 languages |
| Orthography | doc.orthography | CONT (modern orthography), ZHEL (Zhelekhivka), SKRY (Skrypnykivka), etc. |
| Location code | doc.locCode | UA-W-LVV (Lviv region), UA-E-HRK (Kharkiv region), UA-C-KVS (Kyiv region), D-Z-CA (Canada diaspora), etc. |
| Source type | doc.source | PRI (print), FAM (family archive), WEB (web), etc. |
| Publication details | doc.publication | Title of the source publication |
| doc.publisher | Publisher name | |
| doc.publicationCity | Place of publication | |
| doc.publicationYear | Year of publication | |
| Statistics | doc.tokenCount | Total number of tokens in the document |
| doc.sentenceCount | Total number of sentences in the document |

Figure 1
Distribution of functional styles across periods in PluG (ring area proportional to token count).
Table 2
Token counts by functional style and time period in PluG.
| STYLE | PRE-1860 | 1860–1879 | 1880–1899 | 1900–1919 | 1920–1939 | 1940–1954 | GRAND TOTAL |
|---|---|---|---|---|---|---|---|
| FIC | 565.6K (61%) | 1.5M (72%) | 4.4M (69%) | 5.3M (36%) | 7.9M (34%) | 1.0M (9%) | 20.7M (35.6%) |
| NOF | 27.4K (3%) | 135.6K (6%) | 515.6K (8%) | 945.6K (6%) | 3.5M (15%) | 1.8M (16%) | 6.9M (11.8%) |
| POE | 150.5K (16%) | 4.8K (0%) | 51.2K (1%) | 257.7K (2%) | 37.9K (0%) | 10.4K (0%) | 512.5K (0.9%) |
| ACA | 39.4K (4%) | 301.9K (14%) | 427.8K (7%) | 2.0M (13%) | 3.4M (15%) | 334.2K (3%) | 6.5M (11.1%) |
| EGO | 96.1K (10%) | 141.6K (7%) | 966.3K (15%) | 1.2M (8%) | 2.1M (9%) | 654.7K (6%) | 5.2M (8.9%) |
| JOU | 0.0K (0%) | 2.7K (0%) | 5.4K (0%) | 3.2M (22%) | 5.8M (25%) | 6.9M (64%) | 15.9M (27.4%) |
| OFF | 0.0K (0%) | 0.0K (0%) | 0.0K (0%) | 83.2K (1%) | 255.8K (1%) | 13.8K (0%) | 352.8K (0.6%) |
| FOL | 45.5K (5%) | 6.8K (0%) | 63.8K (1%) | 1.0M (7%) | 28.7K (0%) | 0.0K (0%) | 1.2M (2.0%) |
| REL | 1.9K (0%) | 0.0K (0%) | 0.0K (0%) | 750.3K (5%) | 62.9K (0%) | 62.6K (1%) | 877.7K (1.5%) |
| Total | 926.5K | 2.1M | 6.5M | 14.8M | 23.1M | 10.7M | 58.1M |
In addition to standard Ukrainian, PluG includes texts reflecting language variation of the late 19th and early 20th centuries, which is underrepresented in existing NLP resources. Exposing a model to non-standard spelling, grammar, and vocabulary improves its ability to handle the full range of variation it may encounter, including in contemporary non-standard usage.
PluG2 extends the original corpus by incorporating a substantially larger collection of Western Ukrainian texts from the 1880s to the 1920s written in the Zhelekhivka orthography. These texts do not merely exhibit a distinct orthographic system: they represent a historically and regionally specific literary standard with its own grammatical patterns and vocabulary (Franko, 1995), making them a distinct and valuable component for language modeling and historical linguistic analysis.
Existing large-scale Ukrainian language resources, such as UberText 2.0 (3.27 billion tokens) (Chaplynskyi, 2023) and Kobza (60 billion tokens) (Haltiuk & Smywiński-Pohl, 2025), focus predominantly on modern Ukrainian. For historical Ukrainian specifically, the closest comparable resource is the Ukrainian Cultural Heritage Books collection (462 million words from 19,574 digitized Internet Archive files) (Langlais & PleIAs, 2024); however, that corpus has not undergone manual OCR correction and lacks the structured metadata that PluG provides for each document. PluG thus fills a distinct niche as a manually curated, richly annotated historical corpus suitable for both linguistic research and language model training.
Repository location
The dataset is available at Shvedova and Lukashevskyi (2024).
DOI (Zenodo): https://doi.org/10.5281/zenodo.19482961
Context
Since its first release in 2024, PluG has been used as a data source to build evaluation benchmarks: Senyk et al. (2025) drew 438 sentences from PluG to build the first publicly available Ukrainian lexical stress benchmark, selecting it specifically for the stylistic diversity it introduces. PluG has been employed in educational settings to showcase statistical analyses of linguistic features such as word, lemma, and entity frequency at the Lviv Data Science Summer School (Kanishcheva, 2024).
The corpus has been integrated into the resource catalogue of the CLARIN Knowledge Centre for Ukrainian NLP and Corpora (UkrNLP-Corpora, 2024).
2 Method
Steps
Candidate texts were selected from the GRAC repository on the basis of two criteria. The first was temporal scope: only documents dated between 1816 and 1954 were considered. The year 1816 represents the starting point of GRAC’s coverage, coinciding with the earliest period of modern literary Ukrainian. The second was copyright status: to identify authors whose works are free of copyright restrictions (standard term: 70 years after the author’s death), a candidate list was first generated automatically by selecting authors born before 1900 with no works dated after 1954 (year of death is not recorded in the GRAC metadata, making birth year the most accessible criterion for automatic filtering); this list was then verified manually, and authors whose works remain under copyright were removed. Under Ukrainian copyright law (Law of Ukraine “On Copyright and Related Rights”, 2023), works by posthumously rehabilitated authors are protected for 70 years from the date of rehabilitation rather than death. Since rehabilitations of victims of the 1930s repressions began only after 1957 and proceeded individually over many years, each such author requires separate verification. A limited number of texts by authors born after 1900 were also included where the author died before 1954 and was not subject to political repression. Newspaper texts before 1954, for the majority of which authors are unknown, as well as certain official and anonymous texts, were likewise included.
For each text, a metadata record was assembled following the GRAC document-level schema (see Table 1). Texts are stored as individual UTF-8-encoded files organized hierarchically within the repository; metadata is stored in a pipe-separated values file and in XML format.
Sampling strategy
PluG provides broad coverage of public-domain Ukrainian texts from 1816 to 1954, with an emphasis on the Central-Eastern literary tradition that forms the basis of the modern Ukrainian standard. Regional and orthographically distinct material is present but represents a smaller proportion of the PluG corpus.
PluG2 extends PluG by incorporating the Zhelekhivka subcorpus of GRAC: a dedicated collection of Western Ukrainian texts from the 1880s to the 1920s written in the Zhelekhivka orthographic system (see Chemerys et al. (2023) for a detailed description of the orthographic system and its processing). This subcorpus represents a historically and regionally distinct variety of literary Ukrainian, with orthographic, grammatical, and lexical features that differ substantially from the modern standard. Given these differences, Zhelekhivka texts require specialised processing and are therefore maintained as a separate, clearly labelled component within PluG2 (DOC.ORTHOGRAPHY=“ZHEL”).
Quality control
Quality control was carried out as part of the broader GRAC workflow. OCR output was corrected manually. Text preprocessing was performed using the cleanText utility2 (Starko et al., 2021), addressing issues common in OCR-derived text: non-standard apostrophe characters, Latin characters mixed into Cyrillic text, digits substituted for visually similar letters, soft hyphens within words, and line-break hyphens splitting words across lines. Non-Ukrainian inserts (predominantly Russian) were partially manually removed and replaced with a three-hyphen placeholder (---).
Metadata is entered manually and validated against predefined value sets to ensure internal consistency between records and text files.
3 Dataset Description
Repository name
GitHub: https://github.com/Dandelliony/pluperfect_grac; Zenodo: https://doi.org/10.5281/zenodo.19482961
Object name
PluG_extended_metadata.xml; PluG_metadata.psv; PluG_texts.zip; PluG2_extended_metadata.xml; PluG2_metadata.psv; PLuG2_texts.zip.
Format names and versions
.txt (UTF-8); .psv; .xml.
Creation dates
Source texts: 1816–1954; corpus compiled 2024-08-29.
Dataset creators
Maria Shvedova (Conceptualization, Data Curation, Methodology); Arsenii Lukashevskyi (Data Curation, Software, Validation); GRAC team.
Language
Ukrainian.
License
Creative Commons Attribution 4.0 International (CC BY 4.0).
Publication dates
PluG: 2024-08-29; PluG2: 2024-09-21.
4 Reuse Potential
PluG and PluG2 serve a broad range of research and applied purposes. For NLP and machine learning, the corpora provide copyright-free historical Ukrainian text at scale suitable for pre-training or fine-tuning language models. The inclusion of texts in multiple historical orthographic systems makes the corpora especially useful for developing models capable of handling historical spelling variation.
For historical and corpus linguistics, PluG enables diachronic analysis of lexical, grammatical, and orthographic change in Ukrainian over more than a century. The corpus spans multiple genres and regional traditions, allowing researchers to study register variation, regional features, and the gradual emergence of the modern standard. The structured metadata supports systematic filtering and subcorpus construction for targeted studies.
In literary and cultural studies, the corpus provides machine-readable access to a large body of Ukrainian fiction, journalism, and other writing from the 19th and early 20th centuries, supporting distant reading approaches and investigations of thematic and stylistic patterns across the period. For educators, the corpora offer freely accessible authentic historical Ukrainian texts useful for language instruction, translation studies, and the history of the Ukrainian literary language.
5 Limitations
Potential limitations include the following. First, as the texts were digitized via OCR, some transcription errors may persist despite manual correction. Second, the historical orthographic systems present in PluG2 in particular may require additional preprocessing for applications targeting the contemporary standard. Third, metadata completeness varies across texts, as not all source materials provide full publication details.
Notes
[2] LanguageTool API NLP UK repository: https://github.com/brown-uk/nlp_uk.
AI Declaration
Generative AI tools were used for language editing and grammatical checking. The authors are fully responsible for the final content.
Acknowledgements
We thank both reviewers for their careful reading of the manuscript and their constructive comments, which have helped us improve the clarity and precision of the paper.
We thank the GRAC team, including Sergey Yarygin, Ruprecht von Waldenfels, Andriy Rysin, Vasyl Starko, and all contributors whose work made this dataset possible.
A large part of the collection was sourced from open digital libraries, most notably the collection of Western Ukrainian newspapers assembled by Orest Drul. We are grateful to Orest Drul, Maksym Bystrytskyi, Oleh Bohuslavskyi, Mykola Zharkykh, Mykhailo Nazarenko, Nataliia Mykhailivska, and all those who create and maintain open digital libraries.
Author Contributions
Maria Shvedova: Conceptualization; Data curation; Methodology; Supervision; Validation; Writing – original draft; Writing – review & editing.
Arsenii Lukashevskyi: Data curation; Software; Formal analysis; Visualization; Writing – original draft; Writing – review & editing.
