joelniklaus commited on
Commit
974b63b
1 Parent(s): 394a4e0

added dataset files

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +209 -0
  3. test.jsonl +3 -0
  4. train.jsonl +3 -0
  5. validation.jsonl +3 -0
.gitattributes CHANGED
@@ -35,3 +35,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *.mp3 filter=lfs diff=lfs merge=lfs -text
36
  *.ogg filter=lfs diff=lfs merge=lfs -text
37
  *.wav filter=lfs diff=lfs merge=lfs -text
 
 
 
35
  *.mp3 filter=lfs diff=lfs merge=lfs -text
36
  *.ogg filter=lfs diff=lfs merge=lfs -text
37
  *.wav filter=lfs diff=lfs merge=lfs -text
38
+ test.jsonl filter=lfs diff=lfs merge=lfs -text
39
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
40
+ validation.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - other
4
+ language_creators:
5
+ - found
6
+ languages:
7
+ - el
8
+ license:
9
+ - Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
10
+ multilinguality:
11
+ - monolingual
12
+ paperswithcode_id: null
13
+ pretty_name: Greek Legal Named Entity Recognition
14
+ size_categories:
15
+ - 10K<n<100K
16
+ source_datasets:
17
+ - original
18
+ task_categories:
19
+ - token-classification
20
+ task_ids:
21
+ - named-entity-recognition
22
+ ---
23
+
24
+ # Dataset Card for Greek Legal Named Entity Recognition
25
+
26
+ ## Table of Contents
27
+ - [Table of Contents](#table-of-contents)
28
+ - [Dataset Description](#dataset-description)
29
+ - [Dataset Summary](#dataset-summary)
30
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
31
+ - [Languages](#languages)
32
+ - [Dataset Structure](#dataset-structure)
33
+ - [Data Instances](#data-instances)
34
+ - [Data Fields](#data-fields)
35
+ - [Data Splits](#data-splits)
36
+ - [Dataset Creation](#dataset-creation)
37
+ - [Curation Rationale](#curation-rationale)
38
+ - [Source Data](#source-data)
39
+ - [Annotations](#annotations)
40
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
41
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
42
+ - [Social Impact of Dataset](#social-impact-of-dataset)
43
+ - [Discussion of Biases](#discussion-of-biases)
44
+ - [Other Known Limitations](#other-known-limitations)
45
+ - [Additional Information](#additional-information)
46
+ - [Dataset Curators](#dataset-curators)
47
+ - [Licensing Information](#licensing-information)
48
+ - [Citation Information](#citation-information)
49
+ - [Contributions](#contributions)
50
+
51
+ ## Dataset Description
52
+
53
+ - **Homepage:** http://legislation.di.uoa.gr/publications?language=en
54
+ - **Repository:**
55
+ - **Paper:** Angelidis, I., Chalkidis, I., & Koubarakis, M. (2018). Named Entity Recognition, Linking and Generation for Greek Legislation. JURIX.
56
+ - **Leaderboard:**
57
+ - **Point of Contact:** [Ilias Chalkidis](ilias.chalkidis@di.ku.dk); [Joel Niklaus](joel.niklaus.2@bfh.ch)
58
+
59
+ ### Dataset Summary
60
+
61
+ This dataset contains an annotated corpus for named entity recognition in Greek legislations. It is the first of its kind for the Greek language in such an extended form and one of the few that examines legal text in a full spectrum entity recognition.
62
+
63
+ ### Supported Tasks and Leaderboards
64
+
65
+ The dataset supports the task of named entity recognition.
66
+
67
+ ### Languages
68
+
69
+ The language in the dataset is Greek as it used in the Greek Government Gazette.
70
+
71
+ ## Dataset Structure
72
+
73
+ ### Data Instances
74
+
75
+ The file format is jsonl and three data splits are present (train, validation and test).
76
+
77
+ ### Data Fields
78
+
79
+ The files contain the following data fields
80
+ - `date`: The date when the document was published.
81
+ - `gazette`: The government gazette of the document. Either `A` or `D`
82
+ - `A` is the general one, publishing standard legislation
83
+ - `D` is meant for legislation on urban planning and such things
84
+ - `words`: The list of tokens obtained by applying the spacy (v 3.3.1) Greek tokenizer on the sentences. For more information see `convert_to_hf_dataset.py`.
85
+ - `ner`: The list of ner tags. The list of labels for the named entities that are covered by the dataset are the following:
86
+ - `FACILITY`: Facilities, such as police stations, departments etc.
87
+ - `GPE`: Geopolitical Entity; any reference to a geopolitical entity (e.g., country, city, Greek administrative unit, etc.)
88
+ - `LEG-REFS`: Legislation Reference; any reference to Greek or European legislation (e.g., Presidential Decrees, Laws, Decisions, EU Regulations and Directives, etc.)
89
+ - `LOCATION-NAT`: Well defined natural location, such as rivers, mountains, lakes etc.
90
+ - `LOCATION-UNK`: Poorly defined locations such "End of road X" or other locations that are not "official".
91
+ - `ORG`: Organization; any reference to a public or private organization, such as: international organizations (e.g., European Union, United Nations, etc.), Greek public organizations (e.g., Social Insurance Institution) or private ones (e.g., companies, NGOs, etc.).
92
+ - `PERSON`: Any formal name of a person mentioned in the text (e.g., Greek government members, public administration officials, etc.).
93
+ - `PUBLIC-DOCS`: Public Document Reference; any reference to documents or decisions that have been published by a public institution (organization) that are not considered a primary source of legislation (e.g., local decisions, announcements, memorandums, directives).
94
+ - `O`: No entity annotation present
95
+
96
+ ### Data Splits
97
+
98
+ The dataset has three splits: *train*, *validation* and *test*.
99
+
100
+ Split across the documents:
101
+
102
+ | split | number of documents |
103
+ |:---------------|--------------------:|
104
+ | train | 23723 |
105
+ | validation | 5478 |
106
+ | test | 5084 |
107
+
108
+ Split across NER labels
109
+
110
+ | NER label + split | number of instances |
111
+ |:-----------------------------------------------|----------------------:|
112
+ | ('FACILITY', 'test') | 142 |
113
+ | ('FACILITY', 'train') | 1224 |
114
+ | ('FACILITY', 'validation') | 60 |
115
+ | ('GPE', 'test') | 1083 |
116
+ | ('GPE', 'train') | 5400 |
117
+ | ('GPE', 'validation') | 1214 |
118
+ | ('LEG-REFS', 'test') | 1331 |
119
+ | ('LEG-REFS', 'train') | 5159 |
120
+ | ('LEG-REFS', 'validation') | 1382 |
121
+ | ('LOCATION-NAT', 'test') | 26 |
122
+ | ('LOCATION-NAT', 'train') | 145 |
123
+ | ('LOCATION-NAT', 'validation') | 2 |
124
+ | ('LOCATION-UNK', 'test') | 205 |
125
+ | ('LOCATION-UNK', 'train') | 1316 |
126
+ | ('LOCATION-UNK', 'validation') | 283 |
127
+ | ('ORG', 'test') | 1354 |
128
+ | ('ORG', 'train') | 5906 |
129
+ | ('ORG', 'validation') | 1506 |
130
+ | ('PERSON', 'test') | 491 |
131
+ | ('PERSON', 'train') | 1921 |
132
+ | ('PERSON', 'validation') | 475 |
133
+ | ('PUBLIC-DOCS', 'test') | 452 |
134
+ | ('PUBLIC-DOCS', 'train') | 2652 |
135
+ | ('PUBLIC-DOCS', 'validation') | 556 |
136
+
137
+
138
+
139
+ ## Dataset Creation
140
+
141
+ ### Curation Rationale
142
+
143
+ Creating a big dataset for Greek named entity recognition and entity linking.
144
+
145
+ ### Source Data
146
+
147
+ #### Initial Data Collection and Normalization
148
+
149
+ [More Information Needed]
150
+
151
+ #### Who are the source language producers?
152
+
153
+ Greek Government Gazette
154
+
155
+ ### Annotations
156
+
157
+ #### Annotation process
158
+
159
+ [More Information Needed]
160
+
161
+ #### Who are the annotators?
162
+
163
+ According to (Angelidis et al., 2018) the authors of the paper annotated the data: *"Our group annotated all of the above documents for the 6 entity types that we examine."*
164
+
165
+ ### Personal and Sensitive Information
166
+
167
+ [More Information Needed]
168
+
169
+ ## Considerations for Using the Data
170
+
171
+ ### Social Impact of Dataset
172
+
173
+ [More Information Needed]
174
+
175
+ ### Discussion of Biases
176
+
177
+ [More Information Needed]
178
+
179
+ ### Other Known Limitations
180
+
181
+ Note that the information given in this dataset card refer to the dataset version as provided by Joel Niklaus and Veton Matoshi. The dataset at hand is intended to be part of a bigger benchmark dataset. Creating a benchmark dataset consisting of several other datasets from different sources requires postprocessing. Therefore, the structure of the dataset at hand, including the folder structure, may differ considerably from the original dataset. In addition to that, differences with regard to dataset statistics as give in the respective papers can be expected. The reader is advised to have a look at the conversion script ```convert_to_hf_dataset.py``` in order to retrace the steps for converting the original dataset into the present jsonl-format. For further information on the original dataset structure, we refer to the bibliographical references and the original Github repositories and/or web pages provided in this dataset card.
182
+
183
+ ## Additional Information
184
+
185
+ ### Dataset Curators
186
+
187
+ The names of the original dataset curators and creators can be found in references given below, in the section *Citation Information*.
188
+ Additional changes were made by Joel Niklaus ([Email](joel.niklaus.2@bfh.ch); [Github](https://github.com/joelniklaus)) and Veton Matoshi ([Email](veton.matoshi@bfh.ch); [Github](https://github.com/kapllan)).
189
+
190
+
191
+ ### Licensing Information
192
+
193
+ [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/)
194
+
195
+ ### Citation Information
196
+
197
+ ```
198
+ @inproceedings{Angelidis2018NamedER,
199
+ author = {Angelidis, Iosif and Chalkidis, Ilias and Koubarakis, Manolis},
200
+ booktitle = {JURIX},
201
+ keywords = {greek,legal nlp,named entity recognition},
202
+ title = {{Named Entity Recognition, Linking and Generation for Greek Legislation}},
203
+ year = {2018}
204
+ }
205
+ ```
206
+
207
+ ### Contributions
208
+
209
+ Thanks to [@JoelNiklaus](https://github.com/joelniklaus) and [@kapllan](https://github.com/kapllan) for adding this dataset.
test.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76d25a3c1a64ad408e3272aee091f98eddf178b360aa550476c7e8b985f71771
3
+ size 2263011
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f308076197d3ddfaa21ad7f99275cd4b545d68531698aed434f42cdcb31e8fec
3
+ size 9153743
validation.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06d029554fed1f2b49d17ff12a1d0084fc18845d79737c28ece8f243a100e030
3
+ size 2428314