arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.04541cs.AI
收藏

面向从自然语言规约自动生成ASP程序的研究

Towards Automatic Composition of ASP Programs from Natural Language Specifications

University of Calabria(卡拉布里亚大学)

Manuel Borroto, Irfan Kareem, Francesco Ricca

AI总结:

本文针对ASP规约自动生成问题,构建了图相关问题规约数据集,提出基于NL2ASP工具的两步架构(先经神经机器翻译转CNL,再用CNL2ASP转ASP代码),实验验证了方法可行性。

摘要:

本文迈出了实现回答集编程(Answer Set Programming,ASP)规约自动生成的第一步。具体贡献如下:(1)构建了一个聚焦图相关问题规约的数据集,用于开发和评估ASP自动编码工具;(2)提出了一种在NL2ASP工具中实现的两步架构,用于从自然语言规约生成ASP程序。NL2ASP利用神经机器翻译将自然语言转换为受控自然语言(Controlled Natural Language,CNL)语句,随后通过CNL2ASP工具将CNL语句转换为ASP代码。实验证实了该方法的可行性。

英文摘要:

This paper moves the first step towards automating the composition of Answer Set Programming (ASP) specifications. In particular, the following contributions are provided: (i) A dataset focused on graph-related problem specifications, designed to develop and assess tools for ASP automatic coding; (ii) A two-step architecture, implemented in the NL2ASP tool, for generating ASP programs from natural language specifications. NL2ASP uses neural machine translation to transform natural language into Controlled Natural Language (CNL) statements. Subsequently, CNL statements are converted into ASP code using the CNL2ASP tool. An experiment confirms the viability of the approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑