Generating programs using context-free compositions and probability of determined transformation rules
Abstract
There is provided a method and system for generating a program. The method includes detecting a number of steps for performing a task on a computing device and detecting an example relating to each of the steps, wherein the example includes input data and corresponding output data relating to the step. The method also includes, for each example, determining a rule that transforms the input data to the corresponding output data based on cues including textual features within the input data and the corresponding output data. The method further includes generating a program for performing the task based on the rules.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generating a program, comprising: detecting a plurality of steps for performing a task on a computing device and actual input data for the task; detecting an example relating to each of the plurality of steps, wherein the example comprises input data and corresponding output data relating to the step; and for each example, determining a plurality of rules that transform the input data to the corresponding output data based on cues comprising textual features within the input data and cues comprising textual features within the corresponding output data; for each example, ranking t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (4)
- Fritz, et al., "Towards the Integration of Programming by Demonstration and Programming by Instruction using Golog", Retrieved at <<citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.170.5878&rep=rep1&type=pdf>>.
- Fritz, et al., "Towards the Integration of Programming by Demonstration and Programming by Instruction using Golog", Retrieved at >.
- Gulwani, Sumit, "Automating String Processing in Spreadsheets Using Input-Output Examples", Retrieved at <<research.microsoft.com/en-us/um/people/sumitg/pubs/popl10-synthesis.pdf>>, PoPL, Jan. 26-28, 2011, pp. 13.
- Gulwani, Sumit, "Automating String Processing in Spreadsheets Using Input-Output Examples", Retrieved at >, PoPL, Jan. 26-28, 2011, pp. 13.