Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Copenhagen Ugaritic Corpus

A line-by-line corpus of Ugaritic alphabetic-cuneiform texts (Ras Shamra), keyed to the KTU numbering (Die keilalphabetischen Texte aus Ugarit). Each row is one text line, given in both Latin transliteration and Ugaritic cuneiform, with markup distinguishing restored/damaged and uncertain readings.

  • 279 tablets, 7,616 lines.
  • Built from Copenhagen Ugaritic Corpus v0.2.7 Text-Fabric data.
  • Source project: DT-UCPH/cuc

Usage

from datasets import load_dataset

ds = load_dataset("AlexWalhai/cuc", split="train")
print(ds[0]["text"])           # transliteration
print(ds[0]["ugaritic_text"])  # cuneiform

# all lines of one tablet, in order
ktu_1_1 = ds.filter(lambda r: r["tablet"] == "KTU 1.1")

Columns

column type description
row_id int64 globally unique row index
tablet string KTU tablet id, e.g. KTU 1.1
column string column reference (Roman numeral), e.g. II
line int64 line number within the column
ref string full reference, e.g. KTU 1.1 II 1
text string Latin transliteration
ugaritic_text string Ugaritic cuneiform (Unicode)
text_html string transliteration with bracket/uncertainty markup
ugaritic_text_html string cuneiform with bracket/uncertainty markup

The HTML variants wrap restorations in <span class="bracket"> and uncertain sign readings in <span class="uncertain"> for rendered display.

Build

build_parquet.py builds data/cuc.parquet directly from the upstream CUC Text-Fabric data (release v0.2.7) — no intermediate files. Text-Fabric fetches the corpus to ~/text-fabric-data/github/DT-UCPH/cuc/tf/:

python build_parquet.py            # uses ~/text-fabric-data/.../tf/0.2.7
python build_parquet.py /path/to/cuc/tf/0.2.7   # or an explicit TF data dir

License

MIT. Underlying KTU references follow Dietrich, Loretz & Sanmartín, The Cuneiform Alphabetic Texts from Ugarit (KTU³).

Downloads last month
38