发明名称 Generating Program Fragments Using Keywords and Context Information
摘要 A program development framework (PDF) is described herein which allows a user to produce a program in piecemeal fashion by successively specifying program fragments. The PDF creates a new program fragment by receiving keyword information from the user that describes a new program fragment, and then identifies context information that pertains to a programmatic context in which the new program fragment appears within the overall program being created. The PDF then generates a set of candidate program fragments that satisfy the keyword information and the context information, and ranks those candidate program fragments based on ranking information. At least part of the ranking information may be based on statistical information that is produced by analyzing a corpus of previous programs produced by one or more users. The PDF then provides the ranked program fragments to the user using various user-friendly presentation strategies.
申请公布号 US2014282375(A1) 申请公布日期 2014.09.18
申请号 US201313931625 申请日期 2013.06.28
申请人 Microsoft Corporation 发明人 Gulwani Sumit;de Halleux Jonathan Paul;Tillmann Nikolai;Le Vu Minh;Su Zhendong
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项 1. A method, performed by one or more computing devices, for creating a program, comprising: receiving one or more keywords from a user who wishes to generate a program fragment as part of a program being created, to thereby provide keyword information; identifying a context in which the user is generating the program fragment, to provide context information; generating a set of candidate program fragments based on at least the keyword information and the context information; ranking the candidate program fragments based on ranking information, to provide a set of ranked program fragments; and presenting an output presentation to the user based on the set of ranked program fragments, said receiving, identifying, generating, ranking, and presenting, being performed by said one or more computing devices.
地址 Redmond WA US
您可能感兴趣的专利