Programming with keywords
Thesis (S.M.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer Science, 2007.
Main Author: | |
---|---|
Other Authors: | |
Format: | Thesis |
Language: | eng |
Published: |
Massachusetts Institute of Technology
2008
|
Subjects: | |
Online Access: | http://hdl.handle.net/1721.1/40529 |
_version_ | 1826216189871783936 |
---|---|
author | Little, Greg (Danny Greg) |
author2 | Robert C. Miller. |
author_facet | Robert C. Miller. Little, Greg (Danny Greg) |
author_sort | Little, Greg (Danny Greg) |
collection | MIT |
description | Thesis (S.M.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer Science, 2007. |
first_indexed | 2024-09-23T16:43:43Z |
format | Thesis |
id | mit-1721.1/40529 |
institution | Massachusetts Institute of Technology |
language | eng |
last_indexed | 2024-09-23T16:43:43Z |
publishDate | 2008 |
publisher | Massachusetts Institute of Technology |
record_format | dspace |
spelling | mit-1721.1/405292019-04-11T13:16:32Z Programming with keywords Little, Greg (Danny Greg) Robert C. Miller. Massachusetts Institute of Technology. Dept. of Electrical Engineering and Computer Science. Massachusetts Institute of Technology. Dept. of Electrical Engineering and Computer Science. Electrical Engineering and Computer Science. Thesis (S.M.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer Science, 2007. Includes bibliographical references (p. 105-108). Modern applications provide interfaces for scripting, but many users do not know how to write script commands. However, many users are familiar with the idea of entering keywords into a web search engine. Hence, if a user is familiar with the vocabulary of an application domain, they may be able to write a set of keywords expressing a command in that domain. For instance, in the web browsing domain, a user might enter the keywords click search button. This thesis presents several algorithms for translating keyword queries such as this directly into code. A prototype of this system in the web browsing domain translates click search button into the code click(findButton("search")). This code may then be executed in the context of a web browser to carry out the effect. Another prototype in the Java domain translates append message to log into log.append(message), given an appropriate context of local variables and imported classes. The algorithms and prototypes are evaluated with several studies, suggesting that users can write keyword queries with little or no instructions, and that the resulting translations are often accurate. This is especially true in small domains like the web, whereas in a large domain like Java, the accuracy is comparable to the accuracy of writing syntactically correct Java code without assistance. by Greg Little. S.M. 2008-02-27T22:43:42Z 2008-02-27T22:43:42Z 2007 2007 Thesis http://hdl.handle.net/1721.1/40529 191913384 eng M.I.T. theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. See provided URL for inquiries about permission. http://dspace.mit.edu/handle/1721.1/7582 108 p. application/pdf Massachusetts Institute of Technology |
spellingShingle | Electrical Engineering and Computer Science. Little, Greg (Danny Greg) Programming with keywords |
title | Programming with keywords |
title_full | Programming with keywords |
title_fullStr | Programming with keywords |
title_full_unstemmed | Programming with keywords |
title_short | Programming with keywords |
title_sort | programming with keywords |
topic | Electrical Engineering and Computer Science. |
url | http://hdl.handle.net/1721.1/40529 |
work_keys_str_mv | AT littlegregdannygreg programmingwithkeywords |