Dataset Viewer
Auto-converted to Parquet Duplicate
author_id
stringlengths
7
11
doc_id
stringlengths
14
18
filename
stringlengths
27
35
⌀
author
stringlengths
0
50
title
stringlengths
3
127
sentences
listlengths
1
70.5k
lemmatized_sentences
listlengths
1
70.5k
source
stringclasses
4 values
lemmata_source
stringclasses
2 values
not_before
float64
-800
501
⌀
not_after
float64
-701
600
⌀
tlg_epithet
listlengths
0
3
⌀
genre
listlengths
0
3
provenience
stringclasses
3 values
wordcount
int64
5
581k
lemmatacount
int64
2
199k
__index_level_0__
int64
0
1.96k
ogl0001
ogl0001.ogl001
ogl0001.ogl001.1st1K-grc1.xml
Pinytus
De Epistola Pinyti ad Dionysium
[ ", , .", ". . . . .", "— πρός ἥν ( ,", ")", "ὁ Πινυτός ἀντιγράφων,", "θαυμάζει μέν καί ἀποδέχεται τόν Διονύσιον·", "ἀντιπαρακαλεῖ δέ στεῤῥοτέρας ἤδη ποτέ μεταδιδόναι τροφῆς,", "τελειοτέροις γράμμασιν εἰσαῦθις τόν παῤ αὐτῷ λαόν ὑποθρέψαντα, ὡς μή διατέλους τοῖς γαλακτώδεσιν ἐνδιατρίβοντες λόγοις, τῇ νη...
[ [], [], [], [], [ "πινυτός", "ἀντιγράφω" ], [ "θαυμάζω", "ἀποδέχω", "διονύσιος" ], [ "ἀντιπαρακαλέω", "στεῤῥοτέρας", "μεταδίδωμι", "τροφή" ], [ "τελειοτέρω", "γράμμα", "λαός", "ὑποθρέψαντα", "διατέλος", "γαλακτώδεμι", "ἐνδιατρίβω", ...
glaux1
glaux1
101
200
[]
[]
christian
109
34
0
tlg0005
tlg0005.tlg003
tlg0005.tlg003.1st1K-grc1.xml
Theocritus
Syrinx
[ "Οὐδενός εὐνάτειρα Μακροπτολέμοιο δέ μάτηρ μαίας ἀντιπέτροιο θοόν τέκεν ἰθυντῆρα, οὐχί Κεράσταν ὅν ποτε θρέψατο ταυροπάτωρ, ἀλλ᾽ ου πειλιπές αἶθε πάρος φρένα τέρμα σάκους, οὔνομ᾽ Ὅλον, δίζων, ὅς τᾶς μέροπος πόθον κούρας γηρυγόνας ἔχε τᾶς ἀνεμώδεος, ὅς Μοίσᾳ λιγύ πᾶξεν ἰοστεφάνῳ ἕλκος, ἄγαλμα πόθοιο πυρισμαράγου, ὅς...
[ [ "εὐνητήρ", "μακροπτολέμον", "μήτηρ", "μαῖα", "ἀντιπέτρος", "θοος", "τίκτω", "ἰθυντήρ", "κεράστης", "τρέφω", "ταυροπάτωρ", "πειλιπής", "αἶθε", "φρήν", "τέρμα", "σάκος", "οὔνομ᾽", "ὅλος", "δίζω", "μέροπος", "πόθος", "κόρη", ...
glaux1
glaux1
-400
-201
[ "Bucolici" ]
[]
pagan
95
59
1
tlg0006
tlg0006.tlg020
tlg0006.tlg020.1st1K-grc1.xml
Euripides
Fragmenta
["ποίαν σε φῶμεν γαῖαν ἐκλελοιπότα πόλει ξενοῦσθαι τ(...TRUNCATED)
[["φημί","γῆ","ἐκλείπω","πόλις","ξενοῦσθαι"],["πάτρα","ὅρος"(...TRUNCATED)
glaux1
glaux1
-500
-401
[ "Tragici" ]
[]
pagan
21,516
10,315
2
tlg0007
tlg0007.tlg146
tlg0007.tlg146.1st1K-grc1.xml
Plutarch
Παροιμίαι αἷς Ἀλεξανδρεῖς ἐχρῶντο
["Οἴκοι τά Μιλήσια: ἐπί τῶν ὅποι μή προςήκει τήν τρυφή(...TRUNCATED)
[["μιλήσιος","πργοςήκω","τρυφή","ἐπιδείκνυμι"],["ἀρισταγό(...TRUNCATED)
glaux1
glaux1
1
200
[ "Biographi", "Philosophici/-ae" ]
[]
pagan
3,206
1,496
3
tlg0007
tlg0007.tlg147
tlg0007.tlg147.1st1K-grc1.xml
Plutarch
Ἐκλογὴ περὶ τῶν ἀδυνάτων
["Κατά πετρῶν σπείρεις.","Πλίνθον πλύνεις.","Δικτύῳ ἄνε(...TRUNCATED)
[["πέτρα","σπείρω"],["πλίνθος","πλύνω"],["δίκτυον","ἄνεμος","θ(...TRUNCATED)
glaux1
glaux1
1
200
[ "Biographi", "Philosophici/-ae" ]
[]
pagan
195
125
4
tlg0015
tlg0015.tlg001
tlg0015.tlg001.1st1K-grc1.xml
Herodian
Ab excessu divi Marci
["οἱ πλεῖστοι τῶν περὶ συγκομιδὴν ἱστορίας ἀσχοληθ(...TRUNCATED)
[["πολύς","συγκομιδή","ἱστορία","ἀσχολέω","ἔργον","γίγνομ(...TRUNCATED)
glaux1
glaux1
101
300
[ "Historici/-ae" ]
[]
pagan
53,515
22,952
5
tlg0018
tlg0018.tlg001
tlg0018.tlg001.1st1K-grc1.xml
Philo Judaeus
De opificio mundi
["τῶν ἄλλων νομοθετῶν οἱ μὲν ἀκαλλώπιστα καὶ γυμνὰ (...TRUNCATED)
[["νομοθέτης","ἀκαλλώπιστος","γυμνός","νομίζω","εἰμί","δίκ(...TRUNCATED)
glaux1
glaux1
-100
100
[ "Philosophici/-ae" ]
[]
jewish
15,358
6,451
6
tlg0018
tlg0018.tlg002
tlg0018.tlg002.1st1K-grc1.xml
Philo Judaeus
Legum allegoriarum libri i‑iii
["\"και συνετελέσθησαν ὁ οὐρανός καί ἡ γῆ καί πᾶς ὁ κό(...TRUNCATED)
[["συνετελέσθησα","οὐρανός","γῆ","κόσμος"],[],[],[],["νόος","αἴ(...TRUNCATED)
glaux1
glaux1
-100
100
[ "Philosophici/-ae" ]
[]
jewish
47,690
18,182
7
tlg0018
tlg0018.tlg003
tlg0018.tlg003.1st1K-grc1.xml
Philo Judaeus
De Cherubim
["\" καὶ ἐξέβαλε τὸν Ἀδὰμ καὶ κατῴκισεν ἀπέναντι το(...TRUNCATED)
[["ἐκβάλλω","Ἀδάμ","κατοικίζω","παράδεισος","τρυφή","χερου(...TRUNCATED)
glaux1
glaux1
-100
100
[ "Philosophici/-ae" ]
[]
jewish
8,874
3,786
8
tlg0018
tlg0018.tlg004
tlg0018.tlg004.1st1K-grc1.xml
Philo Judaeus
De sacrificiis Abelis et Caini
["\" καὶ προσέθηκε τεκεῖν τὸν ἀδελφὸν αὐτοῦ τὸν Ἄβε(...TRUNCATED)
[["προστίθημι","τίκτω","ἀδελφός","Ἄβελ"],["πρόσθεσις","ἀφα(...TRUNCATED)
glaux1
glaux1
-100
100
[ "Philosophici/-ae" ]
[]
jewish
11,095
4,812
9
End of preview. Expand in Data Studio

LAGT

Description

LAGT is s a dataset of lemmatized ancient Greek texts, combining works from the Perseus Digital Library, the First 1000 Years of Greek project, the GLAUx corpus, and a subset of additional early Christian texts added gradually. The scripts used to produce this dataset are available from Github.

Version v4.1 is the last independently released version of the dataset. Since v5.0, we publish only the code for the preprocessing pipeline, while the textual data are ported directly into the GreLa database. 

In version v4.1,  LAGT includes 1,958 works from more than 475 authors, covering 35,809,325 tokens of raw text. It includes only works from the period from the 8th c. BCE to the 6th c. CE. Since version 4.0, LAGT dataset consists of two parts:

  • Main tabular dataset, containing all metadata and also lemmatized filtered sentences, offered here as a parquet file, to be loaded into python directly as a pandas dataframe object.
  • Morphological data for each document within the corpus with one JSON file per document. Each file is represented as a list of sentences, and each sentence is accompanied by a simplified morphological annotation, containing token, lemma, simplified postag and a positional index of the token. The directory with these files has to be downloaded and unzipped, e.g. in "data/large_files/ subdirectory of a repository or so.

The tabular dataset might be loaded directly into a Python environment as a dataframe using the Pandas library. You can load the dataset directly into your Python environment using the following piece of code:

import pandas as pd
LAGT = pd.read_parquet("https://zenodo.org/records/13889714/files/LAGT_v4-1.parquet?download=1")

Individual works are represented by rows and columns represent attributes, such as the author ID (“doc_id”, e.g. “tlg0086”) and document ID (“doc_id”, e.g. “tlg010”) inherited from the source corpora, the date of creation expressed by means of an interval (“not_before” and “not_after”), manually annotated religious provenience as either pagan, Jewish or Christian (“provenience” attribute) etc., which allow various forms of sorting and filtering. The dating information is coded by means of the “not_before” and “not_after” attributes on the level of authors and with the precision of centuries.

Concerning lemmatization, the dataset contains lemmatized sentences in the "lemmatized_sentences" attribute in form of a list-of-lists, with sublist elements representing individual lemmata. It contains only nouns, proper names, verbs and adjectives.
Wherever available, the lemmata are based on avaialable Treebank data, such as the GLAUx corpus (see below).
Where not, the GreCy model for spaCy is employed for automatic annotation.

The source of the lemmata for individual documents is documented in the "lemmata_source" attribute. Since version 4.0, the lemmata come exclusively either from GLAUx or from grecy.

  • "glaux": lemmata from a large portion of *automatically* annotated ancient Greek texts, extracted from https://github.com/perseids-publications/glaux-trees/tree/master/public/xml
  • "grecy": lemmata obtain from *automatically* annotated ancient Greek texts by means of the *grecy* model for *spaCy*.

Authors

  • Vojtěch Kaše
  • Söderholm, Harri — University of Helsinki
  • Vesala, Jimi
  • Nikki, Nina — University of Helsinki

Citation

@misc{zenodo13889714,
  title = {LAGT},
  author = {Vojtěch Kaše and Söderholm, Harri and Vesala, Jimi and Nikki, Nina},
  year = {2024},
  publisher = {Zenodo},
  doi = {10.5281/zenodo.13889714},
  url = {https://zenodo.org/records/13889714},
  version = {v4.1}
}

Original Source

Repository: Zenodo

DOI: 10.5281/zenodo.13889714

Publication Date: 2024-10-04

Version: v4.1

Original Publisher: Zenodo

Original License: cc-by-4.0

Provenance

This dataset was originally published on Zenodo.

The original authors and DOI are preserved above.

Downloads last month
22