基于增强命名实体识别的开源许可证条款识别方法OA
Open Source License Term Identification Method Based on Enhanced Named Entity Recognition
开源许可证随着开源软件的广泛应用得到了充分的发展,它规定了开源软件使用者的权利和义务.开发者在使用开源代码时,若不遵守相应的许可证规范,可能会造成侵权等法律风险.因此识别开源许可证条款并理解许可证内容对于风险管理和知识产权保护具有重要作用.现有的许可证条款识别方法存在适用范围较小、识别精确不足的问题,因此该文提出了一种基于增强命名实体的许可证条款识别方法(LTNER),旨在自动化精确地识别开源许可证中的条款内容.该方法通过构建开源许可证条款识别模型,利用 BERT 的上下文捕捉能力和深层次语义理解,灵活分析各类许可证文本,采用命名实体识别的方式确定许可证包含的条款.实验结果表明,LTNER 模型在召回率和 F1 值上相较于现有的先进工具 LiDetector 有提升,其中召回率提高了14.68%,F1 值提高了6.71%,验证了模型在识别开源许可证条款方面的有效性.
Open-source licenses have developed significantly alongside the widespread adoption of open-source software,defining the rights and obligations of open-source software users.Developers who use open-source code without adhering to the corresponding license terms may face legal risks such as infringement.Therefore,identifying open-source license terms and understanding license content plays a crucial role in risk management and intellectual property protection.Existing license term identification methods suffer from limited applicability and insufficient accuracy.We propose a license term identification method based on enhanced named entity rec-ognition(LTNER)to achieve automated and precise identification of license terms in open-source licenses.The method constructs an open-source license term identification model,leveraging BERT's contextual capture capabilities and deep semantic understanding to flexibly analyze various license texts,and uses named entity recognition to determine the terms contained in the license.Experimental results show that the LTNER model outperforms the existing state-of-the-art tool LiDetector in terms of recall and F1 score,with a 14.68%increase in recall and a 6.71%increase in F1 score,validating the model's effectiveness in identifying open-source license terms.
程宇豪;黄子杰;高建华
上海师范大学 计算机科学与技术系,上海 200234上海市计算机软件评测重点实验室 上海计算机软件技术开发中心,上海 201112上海师范大学 计算机科学与技术系,上海 200234
信息技术与安全科学
开源软件许可证条款命名实体识别BERT条件随机场开源治理
open source softwarelicense termsnamed entity recognitionBERTCRFopen source governance
《计算机技术与发展》 2026 (4)
32-40,9
中国博士后科学基金面上项目(2024M761927)上海市"科技创新行动"启明星项目(扬帆专项)(24YF2719900)上海市高水平机构建设运行计划"软科学研究"青年项目(25692112700)
评论