首页> 外文会议>ACM international conference on intelligent user interfaces 2011 >A Formal Framework for Combining Natural Instruction and Demonstration for End-User Programming
【24h】

A Formal Framework for Combining Natural Instruction and Demonstration for End-User Programming

机译:最终用户编程将自然指令与演示相结合的正式框架

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

摘要

We contribute to the difficult problem of programming via natural language instruction. We introduce a formal framework that allows for the use of program demonstrations to resolve several types of ambiguities and omissions that are common in such instructions. The framework effectively combines some of the benefits of programming by demonstration and programming by natural instruction. The key idea of our approach is to use non-deterministic programs to compactly represent the (possibly infinite) set of candidate programs for given instructions, and to filter from this set by means of simulating the execution of these programs following the steps of a given demonstration. Due to the rigorous semantics of our framework we can prove that this leads to a sound algorithm for identifying the intended program, making assumptions only about the types of ambiguities and omissions occurring in the instruction. We have implemented our approach and demonstrate its ability to resolve ambiguities and omissions by considering a list of classes of such issues and how our approach resolves them in a concrete example domain. Our empirical results show that our approach can effectively and efficiently identify programs that are consistent with both the natural instruction and the given demonstrations.
机译:我们通过自然语言指令解决了编程难题。我们引入一个正式的框架,该框架允许使用程序演示来解决此类指令中常见的几种类型的歧义和遗漏。该框架有效地结合了通过演示进行编程和通过自然指令进行编程的一些好处。我们方法的关键思想是使用非确定性程序来紧凑地表示给定指令的(可能是无限的)候选程序集,并通过按照给定步骤模拟这些程序的执行来从该集中进行过滤示范。由于我们框架的严格语义,我们可以证明这导致了一种用于识别目标程序的合理算法,仅对指令中出现的歧义和遗漏类型进行了假设。我们已经实施了我们的方法,并通过考虑此类问题的类别列表以及我们的方法如何在一个具体的示例域中解决它们,证明了其解决歧义和遗漏的能力。我们的经验结果表明,我们的方法可以有效,高效地确定与自然指导和给定示范相一致的程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号