EUR_Lex_Sum / README.md
georgioup's picture
Update README.md
6310833 verified
---
task_categories:
- summarization
language:
- el
tags:
- legal
- eur-lex
- greek
- summarization
size_categories:
- 1K<n<10K
---
NOMOS_EUR_Lex_Sum is a Greek-language legal text summarization dataset derived from official documents of the EUR-Lex portal.
The dataset focuses on extractive summarization of European Union legislative texts written in Greek and was developed in the context of the +NOMOS project
## Dataset Structure
The dataset follows a hierarchical folder structure based on EUR-Lex thematic categories.
- Top-level folders represent broad policy areas
- Intermediate folders represent subtopics
- Only the final-level folders (leaf folders) contain actual data files
Each leaf folder corresponds to **one EU legal document and its summary**.
### Files inside a leaf folder
Only leaf folders contain the following files:
#### CELEX file (`<celex_id>.txt`)
- Full legal text in Greek
- Filename corresponds to the official CELEX identifier (e.g., `32013R1408.txt`).
#### `summary.txt`
- Summary of the legal document
- Written in Greek
# 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 greek_eur_lex_sum (or your chosen path) containing eudocV6 data folder