Open Korean Historical Corpus: A Millennia-Scale Diachronic Collection of Public Domain Texts

Seyoung Song, Nawon Kim, Songeun Chae, Kiwoong Park, Jiho Jin, Haneul Yoo, Kyunghyun Cho, Alice Oh

TL;DR

Researchers have released the Open Korean Historical Corpus (OKHC), a massive, openly licensed dataset spanning 1,300 years of Korean linguistic history. Containing 5.1 billion tokens across six languages and multiple writing systems, it provides the first large-scale "linguistic time machine" for training models to understand everything from 7th-century Sinitic scripts to modern North Korean news.

What Problem Does This Paper Address?

The Korean language has a complex history characterized by a deep "diglossia"—a massive gap between how people spoke and how they wrote. For centuries, Koreans used Classical Chinese (Hanja) as their primary literary language, even though the grammar (SVO) was fundamentally different from spoken Korean (SOV). This led to the creation of unique hybrid systems like Idu (Korean-style Sinitic) and eventually the invention of Hangul in the 15th century.

Despite this rich history, modern Natural Language Processing (NLP) for Korean is almost entirely focused on contemporary, Hangul-only text. Historical data is often locked behind restrictive government licenses or scattered across non-downloadable institutional websites. This "data desert" makes it nearly impossible to build models that can read historical documents or understand the evolution of the language.

Methods

The authors built a robust pipeline to aggregate and standardize data from 19 different sources. Key technical steps included:

  • Data Collection: Web scraping institutional archives (like the Annals of the Joseon Dynasty) and news libraries using Python-based tools (BeautifulSoup, Selenium).
  • Text Preprocessing: Applying universal normalization (NFKC) to resolve Unicode compatibility variants and using source-aware heuristics to strip out "noise" like modern translations or erroneous metadata.
  • Language & Script Identification: Because historical texts often mix scripts, the team used a hybrid approach. They combined GlotLID (a language ID model) with a custom character-level analysis that calculates the proportions of Hangul, Hanja, and Kana to classify documents into specific historical periods.
  • Diachronic Analysis: They used the Aho–Corasick algorithm for lexicon matching to track the rise and fall of specific writing systems over a millennium.

Datasets

The Open Korean Historical Corpus (OKHC) is the star of the show. It consists of:

  • Scale: 17.7 million documents and 5.1 billion tokens (6.3 billion characters).
  • Temporal Range: 7th century to 2025.
  • Diversity: Covers six languages/varieties (Middle, Early Modern, Modern, and North Korean; Classical Chinese; and Colonial-era Japanese) and multiple writing systems (Idu, Hanja-Hangul mixed script).
  • Sources: 19 distinct archives, including the Naver News Library, the National Hangeul Museum, and the Kyujanggak Institute for Korean Studies.
  • License: Released under CC BY-NC 4.0 (corpus) and MIT (code), making it the first large-scale, openly accessible resource of its kind for Korean.

Key Insights and Ideas

  • The "Policy-Driven" Decline of Idu: The researchers found that the use of Idu (a system for writing Korean using Chinese characters) peaked as late as the 1860s. Its sudden decline wasn't just natural evolution; it was accelerated by the Kabo Reform of 1894, which mandated Hangul for official use.
  • The Rapid Script Flip: We often think of linguistic shifts as glacial, but the transition from Hanja-exclusive writing to Hangul-dominance was a "rapid transformation." Hanja dominated until roughly 1890; by 1980, Hangul comprised over 93% of characters in the corpus.
  • The North-South Divergence: Decades of political separation have created a measurable "lexical gap." Modern South Korean tokenizers struggle significantly with North Korean text, producing Out-of-Vocabulary (OOV) rates up to 51 times higher than for South Korean text.

Key Results

  • Corpus Volume: The dataset contains 16 GB of text, with the Joseon Dynasty (starting 1392) marking a massive spike in data density due to systematic record-keeping.
  • Tokenizer Resilience: While OOV rates for North Korean text are high, the absolute rates remain under 0.3%, suggesting that modern subword tokenizers (like those used in BERT or GPT) are surprisingly resilient at segmenting unfamiliar orthography, even if they don't "understand" the underlying vocabulary.
  • Open Access: 41.9% of the documents (2.1 billion tokens) are provided in full-text as public domain or openly licensed material.

Limitations and Future Work

  • Sampling Bias: The corpus is heavily skewed toward the modern era. Because older documents are less likely to have survived or been digitized, the "temporal distribution" is not a perfect reflection of historical literacy.
  • Written vs. Spoken: The dataset is limited to written records. It does not include transcribed spoken language, which limits its use for certain types of phonological or conversational linguistic research.
  • LLM Pre-training: The authors suggest that the next logical step is using this corpus to pre-train Large Language Models (LLMs). This could significantly improve a model's ability to interpret "Sino-Korean" vocabulary, which remains a core part of modern Korean but is often misunderstood by models trained only on contemporary web text.

Summary updated

BibTeX
@inproceedings{song2026open,
  author = {Seyoung Song and Nawon Kim and Songeun Chae and Kiwoong Park and Jiho Jin and Haneul Yoo and Kyunghyun Cho and Alice Oh},
  title = {{Open Korean Historical Corpus: A Millennia-Scale Diachronic Collection of Public Domain Texts}},
  booktitle = {LREC},
  year = {2026},
  doi = {10.63317/45k9ywz4c59t},
}

Loading related content...

Figure