首页> 外国专利> TRANSLATING NATURAL LANGUAGE DESCRIPTIONS TO PROGRAMS IN A DOMAIN-SPECIFIC LANGUAGE FOR SPREADSHEETS

TRANSLATING NATURAL LANGUAGE DESCRIPTIONS TO PROGRAMS IN A DOMAIN-SPECIFIC LANGUAGE FOR SPREADSHEETS

机译:将自然语言描述翻译成跨语言的程序

摘要

A system and method to translate natural language descriptions to programs in a domain-specific language for spreadsheets. The method includes generating a model of a spreadsheet. The model includes a column description for each column, and one or more types associated with each column. The method also includes normalizing the description by removing stop words, and replacing parts that match column names or data values by parameterized place-holders. The method involves applying rule-based translation along with keyword or type-based program synthesis in an inter-leaved, bottom-up manner and dynamic programming style, where phrases are mapped to sub-programs in increasing order of their length. The rules describe how to map a specific partial natural language phrase into a partial sub-program. Also, the method includes generating a number of potential programs and ranking the programs to sequence them according to their intended likelihood.
机译:一种将自然语言描述转换为电子表格的领域特定语言的程序的系统和方法。该方法包括生成电子表格的模型。该模型包括每个列的列说明以及与每个列关联的一种或多种类型。该方法还包括通过删除停用词来规范化描述,并通过参数化的占位符替换与列名称或数据值匹配的部分。该方法涉及以交错,自下而上的方式和动态编程样式来应用基于规则的翻译以及基于关键字或基于类型的程序合成,其中,短语以其长度递增的顺序映射到子程序。规则描述了如何将特定的部分自然语言短语映射到部分子程序中。而且,该方法包括生成多个潜在程序并对程序进行排名以根据它们的预期可能性对其进行排序。

著录项

  • 公开/公告号EP2951726A2

    专利类型

  • 公开/公告日2015-12-09

    原文格式PDF

  • 申请/专利权人 MICROSOFT TECHNOLOGY LICENSING LLC;

    申请/专利号EP20140704218

  • 发明设计人 GULWANI SUMIT;MARRON MARK;

    申请日2014-01-22

  • 分类号G06F17/24;G06F17/28;G06F9/44;

  • 国家 EP

  • 入库时间 2022-08-21 14:47:52

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号