---
pretty_name: LegalGLUE
annotations_creators:
- found
language_creators:
- found
languages:
- en
- da
- de
- nl
- sv
- bg
- cs
- hr
- pl
- sk
- sl
- es
- fr
- it
- pt
- ro
- et
- fi
- hu
- lt
- lv
- el
- mt
licenses:
- cc-by-4.0
multilinguality:
- multilingual
source_datasets:
- extended
task_categories:
german_ler:
- token-classification
lener_br:
- token-classification
multi_eurlex:
- text-classification
swissJudgmentPrediction:
- text-classification
task_ids:
german_ler:
- named-entity-recognition
lener_br:
- named-entity-recognition
multi_eurlex::
- multi-label-classification
- topic-classification
---
# Dataset Card for "LegalGLUE"
## Table of Contents
- [Dataset Description](#dataset-description)
- [Dataset Summary](#dataset-summary)
- [Supported Tasks](#supported-tasks)
- [Languages](#languages)
- [Dataset Structure](#dataset-structure)
- [Data Instances](#data-instances)
- [Data Fields](#data-fields)
- [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
- [Curation Rationale](#curation-rationale)
- [Source Data](#source-data)
- [Annotations](#annotations)
- [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
- [Social Impact of Dataset](#social-impact-of-dataset)
- [Discussion of Biases](#discussion-of-biases)
- [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
- [Dataset Curators](#dataset-curators)
- [Licensing Information](#licensing-information)
- [Citation Information](#citation-information)
- [Contributions](#contributions)
## Dataset Description
- **Repository: https://git.rwth-aachen.de/johanna.frenz/legalglue**
### Dataset Summary
The "Legal General Language Understanding Evaluation" (LegalGLUE) dataset was created as part of a bachelor thesis.
It consists of four already existing datasets covering three task types and a total of 23 different languages.
### Supported Tasks
### Languages
## Dataset Structure
### Data Instances
####German_LER
German_LER example
```json
{
'id': '66722',
'tokens':['4.', 'Die', 'Kostenentscheidung', 'für', 'das', 'gerichtliche', 'Antragsverfahren', 'beruht', 'auf', '§', '21', 'Abs.', '2', 'Satz', '1', 'i.', 'V.', 'm.', '§', '20', 'Abs.', '1', 'Satz', '1', 'WBO', '.'],
'ner_tags': [38, 38, 38, 38, 38, 38, 38, 38, 38, 3, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 38]
}
```
####LeNER-Br
LeNER-Br example
```json
{
'id': '7826',
'tokens': ['Firmado', 'por', 'assinatura', 'digital', '(', 'MP', '2.200-2/2001', ')', 'JOSÉ', 'ROBERTO', 'FREIRE', 'PIMENTA', 'Ministro', 'Relator', 'fls', '.', 'PROCESSO', 'Nº', 'TST-RR-1603-79.2010.5.20.0001'],
'ner_tags': [0, 0, 0, 0, 0, 9, 10, 0, 3, 4, 4, 4, 0, 0, 0, 0, 11, 12, 12]}
```
####SwissJudgmentPrediction
swissJudgmentPrediction_de example
```json
{
'id': 48755,
'year': 2014,
'text': "Sachverhalt: A. X._ fuhr am 25. Juli 2012 bei Mülligen mit seinem Personenwagen auf dem zweiten Überholstreifen der Autobahn A1 in Richtung Zürich. Gemäss Anklage schloss er auf einen Lieferwagen auf und schwenkte vom zweiten auf den ersten Überholstreifen aus. Danach fuhr er an zwei Fahrzeugen rechts vorbei und wechselte auf die zweite Überholspur zurück. B. Das Obergericht des Kantons Aargau erklärte X._ am 14. Januar 2014 zweitinstanzlich der groben Verletzung der Verkehrsregeln schuldig. Es bestrafte ihn mit einer bedingten Geldstrafe von 30 Tagessätzen zu Fr. 430.-- und einer Busse von Fr. 3'000.--. C. X._ führt Beschwerde in Strafsachen. Er beantragt, er sei von Schuld und Strafe freizusprechen. Eventualiter sei die Sache an die Vorinstanz zurückzuweisen. ",
'label': 0,
'language': 'de',
'region': 'Northwestern Switzerland',
'canton': 'ag',
'legal area': 'penal law'
}
```
####MultiEURLEX
Monolingual example out of the MultiEURLEX-Datase
```json
{
'celex_id': '32002R0130',
'text': 'Verordnung (EG) Nr. 130/2002 der Kommission\nvom 24. Januar 2002\nbezüglich der im Rahmen der Auss...',
'labels': [3, 17, 5]}
```
Multilingual example out of the MultiEURLEX-Dataset
```json
{
'celex_id': '32002R0130',
'text': {
'bg': None,
'cs': None,
'da': 'Kommissionens ...',
'de': 'Verordnung ... ',
'el': '...',
'en': '...',
...
},
'labels': [3, 17, 5]
}
```
### Data Fields
[More Information Needed]
### Data Splits
Dataset | Language | ISO code | Number of Documents train/dev/test |
German-LER | German | de | 66723 / - / - |
LeNER-Br | Portuguese | pt | 7828 / 1177 / 1390 |
SwissJudgmentPrediction | German | de | 35458 / 4705 / 9725 |
French | fr | 21179 / 3095 / 6820 |
Italian | it | 3072 / 408 / 812 |
MultiEURLEX | English | en | 55,000 / 5,000 / 5,000 |
German | de | 55,000 / 5,000 / 5,000 |
French | fr | 55,000 / 5,000 / 5,000 |
Italian | it | 55,000 / 5,000 / 5,000 |
Spanish | es | 52,785 / 5,000 / 5,000 |
Polish | pl | 23,197 / 5,000 / 5,000 |
Romanian | ro | 15,921 / 5,000 / 5,000 |
Dutch | nl | 55,000 / 5,000 / 5,000 |
Greek | el | 55,000 / 5,000 / 5,000 |
Hungarian | hu | 22,664 / 5,000 / 5,000 |
Portuguese | pt | 23,188 / 5,000 / 5,000 |
Czech | cs | 23,187 / 5,000 / 5,000 |
Swedish | sv | 42,490 / 5,000 / 5,000 |
Bulgarian | bg | 15,986 / 5,000 / 5,000 |
Danish | da | 55,000 / 5,000 / 5,000 |
Finnish | fi | 42,497 / 5,000 / 5,000 |
Slovak | sk | 15,986 / 5,000 / 5,000 |
Lithuanian | lt | 23,188 / 5,000 / 5,000 |
Croatian | hr | 7,944 / 2,500 / 5,000 |
Slovene | sl | 23,184 / 5,000 / 5,000 |
Estonian | et | 23,126 / 5,000 / 5,000 |
Latvian | lv | 23,188 / 5,000 / 5,000 |
Maltese | mt | 17,521 / 5,000 / 5,000 |
## Dataset Creation
### Curation Rationale
[More Information Needed]
### Source Data
#### Initial Data Collection and Normalization
[More Information Needed]
#### Who are the source language producers?
[More Information Needed]
### Annotations
#### Annotation process
[More Information Needed]
#### Who are the annotators?
[More Information Needed]
### Personal and Sensitive Information
[More Information Needed]
## Considerations for Using the Data
### Social Impact of Dataset
[More Information Needed]
### Discussion of Biases
[More Information Needed]
### Other Known Limitations
[More Information Needed]
## Additional Information
### Dataset Curators
[More Information Needed]
### Licensing Information
[More Information Needed]
### Citation Information
[More Information Needed]
### Contributions
[More Information Needed]