Abstract
The history of the Korean language is characterized by a discrepancy between its spoken and written forms and a pivotal shift from Chinese characters to the Hangul alphabet. However, this linguistic evolution has remained largely unexplored in NLP due to a lack of accessible historical corpora. To address this gap, we introduce the Open Korean Historical Corpus (OKHC), a large-scale, openly licensed dataset spanning 1,300 years and 6 languages, as well as under-represented writing systems like Korean-style Sinitic (Idu) and Hanja-Hangul mixed script. This corpus contains 18 million documents and 5 billion tokens from 19 sources, ranging from the 7th century to 2025. We leverage this resource to quantitatively analyze major linguistic shifts: (1) Idu usage peaked in the 1860s before declining sharply; (2) the transition from Hanja to Hangul was a rapid transformation starting around 1890; and (3) North Korea's lexical divergence causes modern tokenizers to produce up to 51 times higher out-of-vocabulary rates. This work provides a foundational resource for quantitative diachronic analysis by capturing the history of the Korean language.
Introduction
The Korean language possesses a rich and complex history defined by "diglossia"—a significant gap between spoken and written forms. For centuries, Classical Chinese (Hanja) served as the primary literary language, despite its SVO grammar being fundamentally different from the SOV structure of spoken Korean. This tension led to the development of hybrid systems like Idu (Korean-style Sinitic) and eventually the invention of the Hangul alphabet in the 15th century.
Despite this heritage, modern Natural Language Processing (NLP) for Korean is predominantly focused on contemporary, Hangul-only text. Historical data is often inaccessible, locked behind restrictive licenses or scattered across non-downloadable institutional archives. This "data desert" has hindered the development of models capable of reading historical documents or analyzing linguistic evolution.
The Open Korean Historical Corpus (OKHC)
To bridge this gap, we present the Open Korean Historical Corpus (OKHC), a massive, openly licensed dataset spanning 1,300 years. The corpus aggregates 17.7 million documents and 5.1 billion tokens (6.3 billion characters) across six languages and varieties: Middle, Early Modern, Modern, and North Korean; Classical Chinese; and Colonial-era Japanese.
Data Collection and Processing
The authors standardized data from 19 distinct sources, including the Annals of the Joseon Dynasty and the Naver News Library. Technical steps involved:
- Normalization: Applying NFKC normalization to resolve Unicode compatibility variants.
- Language Identification: Using a hybrid approach combining GlotLID with character-level analysis (proportions of Hangul, Hanja, and Kana) to classify documents.
- Lexicon Matching: Employing the Aho–Corasick algorithm to track specific writing systems over time.
The OKHC is released under CC BY-NC 4.0 (corpus) and MIT (code), making it the first large-scale, openly accessible resource of its kind for the Korean language.
Quantitative Diachronic Analysis
The scale of the OKHC allows for unprecedented quantitative analysis of Korean linguistic shifts.
The Decline of Idu and the Rise of Hangul
Analysis reveals that Idu usage peaked as late as the 1860s. Its subsequent decline was not merely natural evolution but was accelerated by the Kabo Reform of 1894, which mandated Hangul for official use.
The transition from Hanja-exclusive writing to Hangul dominance was remarkably rapid. While Hanja dominated until approximately 1890, the shift accelerated sharply thereafter. By 1980, Hangul comprised over 93% of characters in the corpus.
North-South Lexical Divergence
The corpus also highlights the growing "lexical gap" between North and South Korean. Modern South Korean tokenizers struggle with North Korean text, exhibiting Out-of-Vocabulary (OOV) rates up to 51 times higher than for South Korean text. However, absolute OOV rates remain low (under 0.3%), suggesting that modern subword tokenizers are resilient at segmenting unfamiliar orthography.
Conclusion and Future Work
The Open Korean Historical Corpus provides a foundational resource for understanding the evolution of the Korean language. While the corpus is skewed toward the modern era due to survival and digitization biases, it offers a unique "linguistic time machine."
Future work will focus on using this corpus to pre-train Large Language Models (LLMs). This could significantly enhance a model's understanding of "Sino-Korean" vocabulary, which remains integral to modern Korean but is often poorly captured by models trained solely on contemporary web data.
Summary updated