File size: 1,646 Bytes
1d86c85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6310833
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
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