首页> 外文期刊>Theory and Practice of Logic Programming >Specifying and Verbalising Answer Set Programs in Controlled Natural Language
【24h】

Specifying and Verbalising Answer Set Programs in Controlled Natural Language

机译:用受控自然语言指定和语言化答卷程序

获取原文
获取原文并翻译 | 示例
       

摘要

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.
机译:我们展示了如何使用双向语法以受控的自然语言来指定和语言化答案集程序。我们从受控自然语言的程序规范开始,然后自动将此规范转换为可执行的答案集程序。可以遵循某些命名约定来修改结果答案集程序,然后可以使用与指定语言相同的自然语言子集来对程序的修订版本进行动词化。双向语法被参数化以进行处理和生成,处理引用表达式,并在需要复制这些语法规则时利用语法规则的数据结构中的对称性。我们证明了口头化需要句子规划,以便聚集相似的结构,以提高所生成规范的可读性。未经修改,所生成的规范在语义上始终与原始规范相同。我们的双向语法是第一个允许在受控自然语言处理上下文中进行语义往返的语法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号