CoolFace
Datasetpublic

syn-nomos/Greek_Legal_Reference_Texts

NOMOS_Greek_Legislation NOMOS_Greek_Legislation is a Greek-language legal text corpus derived from the National Printing House (Ethniko Typografeio - ET.gr). The dataset focuses on Greek national legislation (Laws, Presidential Decrees, Ministerial Decisions) and was developed in the context of the +NOMOS project. It provides full-text legal documents enriched with metadata and thematic classification tags, suitable for Legal NLP tasks such as Text Classification and Language… See the full description on the dataset page: https://huggingface.co/datasets/syn-nomos/Greek_Legal_Reference_Texts.

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes246downloads
Dataset Card

NOMOSGreekLegislation

NOMOS_Greek_Legislation is a Greek-language legal text corpus derived from the National Printing House (Ethniko Typografeio - ET.gr). The dataset focuses on Greek national legislation (Laws, Presidential Decrees, Ministerial Decisions) and was developed in the context of the +NOMOS project.

It provides full-text legal documents enriched with metadata and thematic classification tags, suitable for Legal NLP tasks such as Text Classification and Language Modeling.

File Organization

The dataset consists of a central metadata index and a folder containing the raw text files

Metadata Index

FieldDescription
idUnique internal ID
filenameThe corresponding .txt filename in files/
word_countWord count of the plain text
titleShort title of the act
full_titleOfficial full title (includes Law Number/Date)
article_countNumber of articles detected
article_titlesList of article titles (separated by `\`)
fekGovernment Gazette Issue (FEK) string
fek_search_urlGenerated search URL for ET.gr
fek_urlDirect download link for the original PDF
topicsThematic classification tags (separated by `\`)

How to download the data

Use the provided download_script.py to pull the data to your local machine. This ensures the directory structure is preserved and only the necessary files are downloaded.

Prerequisites

Ensure you have the huggingface_hub library installed:

pip install huggingface_hub

Usage

Run the following command in your terminal to download the files/ folder and the dataset_metadata.csv:

python download_script.py

The script will create a local directory named greeklegaldata (or your chosen path) containing: dataset_metadata.csv: The central index for all legal documents. files/: A folder containing the raw .txt files corresponding to the metadata.