用受控自然语言表达和表达答案集程序
Specifying and Verbalising Answer Set Programs in Controlled Natural Language
摘要:
我们展示了如何一个双向语法可以用来指定和verbalise答案集程序控制自然语言。我们开始从一个程序规范控制自然语言和翻译这个规范自动转换成一个可执行的答案集程序。所得到的答案集程序可以按照某些命名约定进行修改,然后可以用与用作规约语言的自然语言相同的子集来表达程序的修订版本。双向语法被参数化以用于处理和生成,处理引用表达式,并且每当这些语法规则需要被复制时利用语法规则的数据结构中的对称性。我们证明,言语化需要句子规划,以聚合类似的结构,目的是提高所生成的规范的可读性。没有修改,生成的规范总是语义上等同于原来的一个,我们的双向语法是第一个允许语义往返的上下文中的控制自然语言处理。本文件正在考虑被TPLP接受。
英文摘要:
We show how a bi-directional grammar can be used to specify and verbalise answer set programs in controlled natural language. We start from a program specification in controlled natural language and translate this specification automatically into an executable answer set program. The resulting answer set program can be modified following certain naming conventions and the revised version of the program can then be verbalised in the same subset of natural language that was used as specification language. The bi-directional grammar is parametrised for processing and generation, deals with referring expressions, and exploits symmetries in the data structure of the grammar rules whenever these grammar rules need to be duplicated. We demonstrate that verbalisation requires sentence planning in order to aggregate similar structures with the aim to improve the readability of the generated specification. Without modifications, the generated specification is always semantically equivalent to the original one; our bi-directional grammar is the first one that allows for semantic round-tripping in the context of controlled natural language processing. This paper is under consideration for acceptance in TPLP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。