LexDrafter:使用检索增强生成进行立法文件的术语起草
LexDrafter: Terminology Drafting for Legislative Documents using Retrieval Augmented Generation
AI总结:
本文提出 LexDrafter 框架,利用检索增强生成和现有立法文件中的定义,协助起草欧盟立法文件的术语定义条款,以促进法律术语一致性并避免歧义。
摘要:
随着欧盟立法文件的增加,新术语及其定义的数量也在增加。根据欧洲议会、理事会和委员会的联合实用指南,法律文件中使用的术语应保持一致,相同的概念应在不偏离其在普通、法律或技术语言中含义的情况下表达。因此,在起草新立法文件时,拥有一个提供关于现有定义的见解并帮助根据文件上下文定义新术语的框架,将支持不同法规之间这种协调一致的法律定义,从而避免歧义。在本文中,我们提出了 LexDrafter,这是一个使用检索增强生成(RAG)和不同立法文件中现有的术语定义来协助起草立法文件定义条款的框架。为此,通过从现有文件中提取定义来构建定义元素。使用定义元素和 RAG,可以为正在起草的立法文件按需建议定义条款。我们使用能源领域的欧盟文件集合演示并评估了 LexDrafter 的功能。LexDrafter 框架的代码可在 https://github.com/achouhan93/LexDrafter 获取。
英文摘要:
With the increase in legislative documents at the EU, the number of new terms and their definitions is increasing as well. As per the Joint Practical Guide of the European Parliament, the Council and the Commission, terms used in legal documents shall be consistent, and identical concepts shall be expressed without departing from their meaning in ordinary, legal, or technical language. Thus, while drafting a new legislative document, having a framework that provides insights about existing definitions and helps define new terms based on a document's context will support such harmonized legal definitions across different regulations and thus avoid ambiguities. In this paper, we present LexDrafter, a framework that assists in drafting Definitions articles for legislative documents using retrieval augmented generation (RAG) and existing term definitions present in different legislative documents. For this, definition elements are built by extracting definitions from existing documents. Using definition elements and RAG, a Definitions article can be suggested on demand for a legislative document that is being drafted. We demonstrate and evaluate the functionality of LexDrafter using a collection of EU documents from the energy domain. The code for LexDrafter framework is available at https://github.com/achouhan93/LexDrafter.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。