数据集:

jonathanli/eurlex

语言:

en

计算机处理:

monolingual

语言创建人:

found

批注创建人:

found

源数据集:

original

大小:

10K<n<100K
英文

EUR-Lex数据集的数据卡

数据集摘要

EURLEX57K可以被看作是Mencia和Furnkranzand(2007)发布的数据集的改进版本,该数据集在大规模多标签文本分类(LMTC)研究中被广泛使用,但是该数据集的规模不到EURLEX57K的一半(19.6k个文档,4k个EUROVOC标签)且超过十年。EURLEX57K包含来自EUR-Lex( https://eur-lex.europa.eu )的57k份英文立法文件,平均长度为727个字。每个文档包含四个主要区域:

  • 头部,包括标题和实施法律行为的法律机构的名称;
  • 授权,是法律背景参考;和
  • 主体,通常组织在条款中。

标签/注释

数据集的所有文档都由欧盟出版社( https://publications.europa.eu/en )使用EUROVOC( http://eurovoc.europa.eu/ )的多个概念进行了注释。虽然EUROVOC包括约7k个概念(标签),但仅有4,271个(59.31%)存在于EURLEX57K中,其中仅有2,049个(47.97%)被分配给超过10个文档。这4,271个标签也被分为频繁(746个标签),少样本(3,362个)和零样本(163个),具体取决于它们是否分配给超过50个、少于50个但至少一个或没有训练文档。

支持的任务和排行榜

数据集支持以下任务:

多标签文本分类:给定文档的文本,模型预测相关的EUROVOC概念。

少样本和零样本学习:正如已经指出的,这些标签可以分为三组:频繁(746个标签)、少样本(3,362个)和零样本(163个),具体取决于它们是否分配给超过50个、少于50个但至少一个或没有训练文档。

语言

所有文档均以英语编写。

数据集结构

数据实例

{
  "celex_id": "31979D0509", 
  "title": "79/509/EEC: Council Decision of 24 May 1979 on financial aid from the Community for the eradication of African swine fever in Spain", 
  "text": "COUNCIL DECISION  of 24 May 1979  on financial aid from the Community for the eradication of African swine fever in Spain  (79/509/EEC)\nTHE COUNCIL OF THE EUROPEAN COMMUNITIES\nHaving regard to the Treaty establishing the European Economic Community, and in particular Article 43 thereof,\nHaving regard to the proposal from the Commission (1),\nHaving regard to the opinion of the European Parliament (2),\nWhereas the Community should take all appropriate measures to protect itself against the appearance of African swine fever on its territory;\nWhereas to this end the Community has undertaken, and continues to undertake, action designed to contain outbreaks of this type of disease far from its frontiers by helping countries affected to reinforce their preventive measures ; whereas for this purpose Community subsidies have already been granted to Spain;\nWhereas these measures have unquestionably made an effective contribution to the protection of Community livestock, especially through the creation and maintenance of a buffer zone north of the river Ebro;\nWhereas, however, in the opinion of the Spanish authorities themselves, the measures so far implemented must be reinforced if the fundamental objective of eradicating the disease from the entire country is to be achieved;\nWhereas the Spanish authorities have asked the Community to contribute to the expenses necessary for the efficient implementation of a total eradication programme;\nWhereas a favourable response should be given to this request by granting aid to Spain, having regard to the undertaking given by that country to protect the Community against African swine fever and to eliminate completely this disease by the end of a five-year eradication plan;\nWhereas this eradication plan must include certain measures which guarantee the effectiveness of the action taken, and it must be possible to adapt these measures to developments in the situation by means of a procedure establishing close cooperation between the Member States and the Commission;\nWhereas it is necessary to keep the Member States regularly informed as to the progress of the action undertaken,", 
  "eurovoc_concepts": ["192", "2356", "2560", "862", "863"]
}

数据字段

文档(train,dev,test)提供了以下数据字段:

celex_id:(str)文档的官方ID。CELEX号是Eur-Lex和CELLAR中所有出版物的唯一标识符。标题:(str)文档的标题。text:每个文档的完整内容,由其header,recitals和main_body表示。eurovoc_concepts:(List[str])相关的EUROVOC概念(标签)。

如果您想使用EUROVOC概念的描述符,类似于Chalkidis等人(2020),请加载: https://archive.org/download/EURLEX57K/eurovoc_concepts.jsonl

import json
with open('./eurovoc_concepts.jsonl') as jsonl_file:
    eurovoc_concepts =  {json.loads(concept) for concept in jsonl_file.readlines()}

数据拆分

Split No of Documents Avg. words Avg. labels
Train 45,000 729 5
Development 6,000 714 5
Test 6,000 725 5

数据集创建

策展理由

该数据集由Chalkidis等人(2019)策划。文档由欧盟出版社( https://publications.europa.eu/en )进行了注释。

源数据

初始数据收集和归一化

原始数据可在EUR-Lex门户网站( https://eur-lex.europa.eu )以未经处理的格式获得。文档以HTML格式从EUR-Lex门户网站下载。相关的元数据和EUROVOC概念从欧盟出版社( http://publications.europa.eu/webapi/rdf/sparql )的SPARQL端点下载。

谁是源语言制作者?

[需要更多信息]

注释

注释过程 谁是注释者?

欧盟出版社( https://publications.europa.eu/en )

个人和敏感信息

该数据集不包含个人或敏感信息。

使用数据时的注意事项

数据的社会影响

[需要更多信息]

偏见讨论

[需要更多信息]

其他已知限制

[需要更多信息]

其他信息

数据集策划者

Chalkidis等人(2019)

许可信息

© European Union, 1998-2021

委员会的文档再利用政策基于决定2011/833/EU。除非另有说明,您可以将在EUR-Lex中发布的法律文件用于商业或非商业目的。

版权属于欧盟的本网站的编辑内容、欧盟立法摘要和合并文本采用知识共享署名4.0国际许可证。这意味着您可以重复使用内容,前提是您承认来源并指出您所做的任何更改。

来源: https://eur-lex.europa.eu/content/legal-notice/legal-notice.html 阅读更多: https://eur-lex.europa.eu/content/help/faq/reuse-contents-eurlex.html

引用信息

Ilias Chalkidis,Manos Fergadiotis,Prodromos Malakasiotis和Ion Androutsopoulos。欧盟立法的大规模多标签文本分类。第57届计算语言学协会年会论文集(ACL 2019)。意大利佛罗伦萨。2019年

@inproceedings{chalkidis-etal-2019-large,
    title = "Large-Scale Multi-Label Text Classification on {EU} Legislation",
    author = "Chalkidis, Ilias  and Fergadiotis, Manos  and Malakasiotis, Prodromos  and Androutsopoulos, Ion",
    booktitle = "Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics",
    year = "2019",
    address = "Florence, Italy",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/P19-1636",
    doi = "10.18653/v1/P19-1636",
    pages = "6314--6322"
}

贡献

感谢 @iliaschalkidis 添加此数据集。