Dataset Viewer
Auto-converted to Parquet Duplicate
source
stringclasses
9 values
id
stringlengths
5
105
license
stringclasses
5 values
tier
stringclasses
1 value
orig_band
stringclasses
2 values
clean
float64
0.99
1
text
stringlengths
47
4.36M
oga
tlg0005.tlg003.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
Οὐδενὸς εὐνάτειρα Μακροπτολέμοιο δὲ μάτηρ μαίας ἀντιπέτροιο θοὸν τέκεν ἰθυντῆρα, οὐχὶ Κεράσταν ὅν ποτε θρέψατο ταυροπάτωρ, ἀλλ᾽ ου πειλιπὲς αἶθε πάρος φρένα τέρμα σάκους, οὔνομ Ὅλον, δίζων, ὃς τᾶς μέροπος πόθον κούρας γηρυγόνας ἔχε τᾶς ἀνεμώδεος, ὃς Μοίσᾳ λιγὺ πᾶξεν ἰοστεφάνῳ ἕλκος, ἄγαλμα πόθοιο πυρισμαράγου, ὃς σβέσε...
oga
tlg0007.tlg147.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
Κατὰ πετρῶν σπείρεις.Πλίνθον πλύνεις.Δικτύῳ ἄνεμον θηρᾷς.Εἰς πίθον ἀντλεῖς.Εἰς ὕδωρ γράφεις.Εἰς οὐρανὸν τοξεύεις.Αἰθίοπα σμήχεις.Κοσκίνῳ ὕδωρ ἀντλεῖς.Νεκρὸν μαστίζεις.Εἰς ψάμμον οἰκοδομεῖς.Εἰς ὕδωρ σπείρεις.Ἀκίνητα κίνεις.Ἀκίχητα διώκεις.Σίδηρον πλεῖν διδάσκεις.Δελφῖνα νήχεσθαι διδάσκεις.Ἡλίῳ φῶς δανείζεις.Κύματα μετρε...
oga
tlg0018.tlg005.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
ΠΕΡΙ ΤΟΥ Καὶ εἶπε Κάιν πρὸς Ἄβελ τὸν ἀδελφὸν αὐτοῦ Διέλθωμεν ἐπὶ τὸ πεδίον. καὶ ἐγένετο ἐν τῷ εἶναι αὐτοὺς ἐν τῷ πεδίῳ, ἀνέστη Κάιν ἐπὶ Ἄβελ τὸν ἀδελφὸν αὐτοῦ καὶ ἀπέκτεινεν αὐτόν ὃ βούλεται ὁ Κάιν τοιοῦτόν ἐστιν, ἐκ προκλήσεως τὸν Ἄβελ εἰς συζήτησιν ἀγαγὼν εἰκόσι καὶ πιθανοῖς σοφίσμασιν ἑλεῖν ἀνὰ κράτος· τὸ γὰρ πεδίον...
oga
tlg0018.tlg007.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
ΦΙΛΩΝΟΣ ΠΕΡΙ ΓΙΓΑΝΤΩΝ Καὶ δὴ ἐγένετο, ἡνίκα ἤρξαντο οἱ ἄνθρωποι πολλοὶ γίνεσθαι ἐπὶ τῆς γῆς, καὶ θυγατέρες ἐγεννήθησαν αὐτοῖς ἄξιον οἶμαι διαπορῆσαι, διὰ τί μετὰ τὴν Νῶε καὶ τῶν υἱῶν αὐτοῦ γένεσιν εἰς πολυανθρωπίαν ἐπιδίδωσιν ἡμῶν τὸ γένος. ἀλλ’ ἴσως οὐ χαλεπὸν ἀποδοῦναι τὴν αἰτίαν· ἀεὶ γὰρ ἐπειδὰν τὸ σπάνιον φανῇ, πάμ...
oga
tlg0045.tlg001.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
α.Βασιλεὺς μέγας Ἀρταξέρξης τοῖς ἀπὸ Ἰνδικῆς ἕως τῆς Αἰθιοπίας ἑπτὰ καὶ εἴκοσι καὶ ἑκατὸν σατραπειῶν ἄρχουσι τάδε γράφει. Πολλῶν ἐθνῶν ἄρξας, καὶ πάσης ἧς ἐβουλήθην κρατήσας οἰκουμένης, καὶ μηδὲν ὑπὸ τῆς ἐξουσίας ὑπερήφανον μηδὲ σκαιὸν εἰς τοὺς ἀρχομένους ἀναγκασθεὶς ἁμαρτεῖν, ἀλλ’ ἐπιεικῆ καὶ πρᾶον ἐμαυτὸν παρασχών, κ...
oga
tlg0046.tlg001.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
"Ἀθηναίοις.Τὰ μὲν πρότερον πραχθέντα, ὦ Ἀθηναῖοι, ἐ(...TRUNCATED)
oga
tlg0057.tlg003.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
"ΓΑΛΗΝΟΥ ΟΤΙ ΑΡΙΣΤΟΣ ΙΑΤΡΟΣ\nΚΑΙ ΦΙΛΟΣΟΦΟΣ.Οἷόν τι πεπ(...TRUNCATED)
oga
tlg0057.tlg012.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
"ΓΑΛΗΝΟΥ ΠΕΡΙ ΟΣΤΩΝ ΤΟΙΣ\nΕΙΣΑΓΟΜΕΝΟΙΣ.ΠΡΟΟΙΜΙΟΝ.Τῶν (...TRUNCATED)
oga
tlg0057.tlg031.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
"ΓΑΛΗΝΟΥ ΠΕΡΙ ΧΡΕΙΑΣ ΣΦΥΓΜΩΝ\nΒΙΒΛΙΟΝ.Τίς ἡ χρεία τῶν (...TRUNCATED)
oga
tlg0057.tlg040.1st1K-grc1
CC BY-SA 4.0
pristine
p100
1
"ΓΑΛΗΝΟΥ ΠΕΡΙ ΤΗΣ ΕΞ ΕΝΥΠΝΙΩΝ\nΔΙΑΓΝΩΣΕΩΣ.Τὸ ἐνύπνιον (...TRUNCATED)
End of preview. Expand in Data Studio

Ancient Greek Corpus — re-OCR'd, LLM-repaired

A large, deduplicated Ancient Greek corpus, ~361M words in 2,145,799 records. The bulk of it is public-domain page images that we re-OCR'd ourselves with a vision–language model fine-tuned for polytonic Greek (Angleraud et al., 2026), rather than reusing the existing text layers, which roughly quadrupled the usable yield. The noisier output was then repaired by Qwen3.6-27B.

Provenance

source upstream what we did licence
ia archive.org language:grc volumes re-OCR'd from page images Public domain
greek_pd PleIAs Greek-PD (pre-1884) re-OCR'd from page images Public domain
oga Opera Graeca Adnotata (Perseus + First1KGreek + PTA) born-digital, used as-is CC BY-SA 4.0
ddbdp, dclp papyri.info (DDbDP / DCLP) born-digital, used as-is CC BY 3.0
pg Patrologia Graeca calfa OCR, used as-is CC BY 4.0 (Auwers, Vidal-Gorène, Kindt, Somers)
catholic corpus_corporum OCR, used as-is Public domain
gutenberg Project Gutenberg Greek born-digital, used as-is Public domain
sblgnt SBL Greek New Testament born-digital, used as-is SBLGNT licence (attribution)

Only the two public-domain page-image collections were re-OCR'd; the born-digital editions are carried through unchanged and credited above. Per-record provenance is in the source and license fields.

Not included: the Database of Byzantine Book Epigrams

DBBE is distributed under CC BY-NC-SA, whose non-commercial clause cannot be honoured by a CC BY-SA compilation. It is therefore excluded from this release (5,476 records, ~0.2M words, 0.1% of the corpus) even though it was part of the corpus used in our own pretraining. To reconstruct that corpus exactly, fetch DBBE yourself under its own terms:

# scripts/fetch_dbbe.py in the code repository
from datasets import load_dataset, concatenate_datasets
ds = load_dataset("anonymous-stoicheia/AncientGreek", split="repaired")
dbbe = load_dbbe()          # see the script; queries the DBBE API under CC BY-NC-SA
full = concatenate_datasets([ds, dbbe])   # your combined copy is then NC-encumbered

Tiers (splits)

split records ~words what it is
pristine 408,219 ~90 M already clean (spellchecker ≥99%), passed through untouched
repaired 1,737,580 ~271 M noisier text (75–95% clean) reconstructed by an LLM editor

A cleanliness floor (clean ≥ 0.75) excludes the noisiest material, which the LLM could not reliably repair; the per-record clean score lets you tighten it further.

Record schema

{"source": "greek_pd", "id": "...", "license": "Public domain",
 "tier": "repaired", "orig_band": "p080", "clean": 0.83, "text": "..."}

text is NFC-normalised polytonic Greek. clean is the spellchecker score of the OCR before repair; orig_band is its cleanliness band.

How the repaired tier was made

Bands in which 60–95% of words were accepted by an Ancient Greek spellchecker were shown to Qwen3.6-27B with an editor prompt that rejoins words split across lines, reflows one-word-per-line text, restores breathings, accents and iota subscript, fixes only certain OCR letter confusions, expands nomina sacra, and drops any clause it cannot restore with confidence. Genuinely garbled input yields nothing rather than a guess; output word-skeletons were verified against the source, so the editor cannot fabricate text.

The repaired tier is training material, not a critical text. Reusing it as a philological source risks propagating OCR error into scholarship; the pristine tier is untouched if you need text you can quote.

Coverage and representativeness

Ancient Greek (grc), polytonic, archaic through Byzantine, literary prose and verse plus documentary material. The corpus reflects the surviving canon and its transmission biases: it is overwhelmingly the work of elite male authors preserved by later copying, with documentary texts supplying most of what survives from other social strata. Ancient sources treat slavery, sexual violence and ethnic hostility as ordinary; this content is retained, because for philological research it is the object of study.

Reproducibility

Mixed-licence compilation (per-record license field) offered under CC BY-SA 4.0. Pin the revision you load — load_dataset("anonymous-stoicheia/AncientGreek", revision=...) — so a later update cannot silently change a published result.

Usage

from datasets import load_dataset
ds = load_dataset("anonymous-stoicheia/AncientGreek")                     # splits: pristine, repaired
clean = load_dataset("anonymous-stoicheia/AncientGreek", split="pristine")
rep = load_dataset("anonymous-stoicheia/AncientGreek", split="repaired").filter(lambda r: r["clean"] >= 0.9)
Downloads last month
20

Paper for anonymous-stoicheia/AncientGreek