You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Chagatai / Central-Asian Parallel Corpus

A unified parallel-translation dataset assembled from the sources catalogued in Datasets_chagatai_final(1) (1).xlsx. Every underlying corpus is normalised to a single flat schema so it can be loaded and mixed in one line.

Schema

column type description
src_text string segment in the source language
tgt_text string its translation in the target language
src_lang string source language code (normalised, see below)
tgt_lang string target language code (normalised)
source string which underlying dataset the pair came from

Language codes are normalised to short ISO-639 forms: ar Arabic, ru Russian, en English, fa Persian, kk Kazakh, tk Turkmen, tr Turkish, ug Uyghur, uz Uzbek (Northern/Latin), uzs Uzbek (Southern/Arabic script), azb South Azerbaijani, chg Chagatai.

Load

from datasets import load_dataset
ds = load_dataset("parquet", data_files="data/chagatai_parallel.parquet")["train"]

# or the Arrow copy written by the build script:
from datasets import load_from_disk
ds = load_from_disk("hf_dataset")

Contents (current build)

Built from every HuggingFace source in the catalog (public + gated, which required a token with granted access) plus the local Chagatai corpora (Eric Schluessel textbook, dictionary, exercises β€” downloaded from Google Drive). Totals are after cleaning (trim, drop empty/duplicate pairs, strip BOM/zero-width).

24 language pairs Β· 2,967,678 pairs total.

language pair rows source dataset(s)
en β†’ ar 959,928 sentence-transformers/parallel-sentences-opus-100
kk β†’ tr 711,658 liboaccn/nmt-parallel-corpus + issai/kazparc
azb β†’ en 549,604 Kartal-Ol/en-azb-548k + facebook/flores
ar β†’ kk 346,680 liboaccn/nmt-parallel-corpus
kk β†’ en 290,875 issai/kazparc
uz β†’ uzs 37,163 tahrirchi/lutfiy
ar β†’ en 17,814 haoranxu/X-ALMA-Parallel-Data + kingkaung/islamqainfo
en β†’ fa 8,579 aiana94/polynews-parallel
kk β†’ ug 4,499 liboaccn/nmt-parallel-corpus
ug β†’ en 3,087 kingkaung/islamqainfo + facebook/flores
tr β†’ en 2,945 kingkaung/islamqainfo
ar β†’ ru 2,385 aiana94/polynews-parallel
en β†’ uzs 2,530 tahrirchi/lutfiy
kk β†’ tk 1,116 liboaccn/nmt-parallel-corpus
Chagatai (chg + chg_latn) 28,815 Eric Schluessel textbook / dictionary / exercises
  chg β†’ kk 5,076 textbook + dictionary
  chg β†’ en 2,912 textbook + exercises
  chg β†’ ru 2,682 textbook
  chg β†’ tr 2,587 textbook
  chg β†’ uz 2,433 textbook
  chg_latn β†’ {en,kk,ru,tr,uz} 2,904 / 2,542 / 2,681 / 2,574 / 2,424 textbook + exercises
total 2,967,678

chg = Chagatai in Arabic script, chg_latn = Chagatai in Latin transliteration. See stats.json for the exact per-source / per-pair breakdown of the last build.

The Chagatai loaders read three local files that must sit next to the script (download them from the Google Drive links in the catalog):

  • Textbook on Chagatai (Eric Schluessel).xlsx
  • Π›Π˜ΠΠ“Π’Π˜Π‘Π’Π•Π Π“Π•.xlsx (dictionary β†’ Kazakh definitions)
  • Eric_Exercise .xlsx

If they are absent the build simply skips them and logs why.

Not yet included

  • Dataset_OCR (Chagatai OCR, on institute SharePoint) and output_images_clean (images) β€” not sentence-parallel text, so out of scope for this schema.
  • uy_ts_articles (Uyghur) and the monolingual cis-lmu/GlotSparse, Uyghur-Corpus/Uyghur-Corpus β€” monolingual, no target side.

Rebuild / extend

pip install datasets pyarrow huggingface_hub pandas

# public sources only:
python build_dataset.py

# include the gated Kazakh sources (after requesting access on each dataset page):
export HF_TOKEN=hf_xxx
python build_dataset.py

The source registry (SOURCES in build_dataset.py) is config-driven β€” add a local Chagatai CSV by appending one entry with a small loader function.

Downloads last month
6