Textual Features for Programming by Example
Abstract
In Programming by Example, a system attempts to infer a program from input and output examples, generally by searching for a composition of certain base functions. Performing a naŃ—ve brute force search is infeasible for even mildly involved tasks. We note that the examples themselves often present clues as to which functions to compose, and how to rank the resulting programs. In text processing, which is our domain of interest, clues arise from simple textual features: for example, if parts of the input and output strings are permutations of one another, this suggests that sorting may be useful. We describe a system that learns the reliability of such clues, allowing for faster search and a principled ranking over programs. Experiments on a prototype of this system show that this learning scheme facilitates efficient inference on a range of text processing tasks.
Additional Information
Submitted on 17 Sep 2012. May 28, 2013.Attached Files
Submitted - 1209.3811.pdf
Files
Name | Size | Download all |
---|---|---|
md5:9d44dd3ac4216d74589eef531fa7c58f
|
395.0 kB | Preview Download |
Additional details
- Eprint ID
- 71974
- Resolver ID
- CaltechAUTHORS:20161114-080916122
- Created
-
2016-11-16Created from EPrint's datestamp field
- Updated
-
2023-06-02Created from EPrint's last_modified field