File size: 2,114 Bytes
6d6f8e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02ddcd0
 
 
 
 
 
 
 
 
 
 
 
 
d43c173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
56
57
58
59
60
---
task_categories:
- text-classification
language:
- el
tags:
- legal
- et-gr
- greek
- legislation
size_categories:
- 1K<n<10K
---

# 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 Modeling.

### File Organization

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

### Metadata Index

| Field | Description |
| :--- | :--- |
| **id** | Unique internal ID |
| **filename** | The corresponding `.txt` filename in `files/` |
| **word_count** | Word count of the plain text |
| **title** | Short title of the act |
| **full_title** | Official full title (includes Law Number/Date) |
| **article_count** | Number of articles detected |
| **article_titles** | List of article titles (separated by `\|`) |
| **fek** | Government Gazette Issue (FEK) string |
| **fek_search_url** | Generated search URL for ET.gr |
| **fek_url** | Direct download link for the original PDF |
| **topics** | Thematic 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 greek_legal_data (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.