Publication | Closed Access
Programmatic semantics for natural language interfaces
56
Citations
5
References
2005
Year
Unknown Venue
Procedural RelationsEngineeringSemantic WebSemanticsCorpus LinguisticsNatural Language ProcessingSyntaxComputational LinguisticsProgrammatic SemanticsLanguage StudiesFormal SemanticsNatural Language InterfaceProse WritingSoftware DesignDeclarative ProgrammingAutomated ReasoningProgram ComprehensionDetailed ProgramLinguisticsSoftware Language EngineeringComputational Semantics
An important way of making interfaces usable by non-expert users is to enable the use of natural language input, as in natural language query interfaces to databases, or MUDs and MOOs. When the subject matter is about procedures, however, we have discovered that interfaces can take advantage of what we call Programmatic Semantics, procedural relations that can be inferred from the linguistic structure. Roughly, nouns can be interpreted as data structures; verbs are functions; adjectives are properties. Some linguistic forms imply conditionals, loops, and recursive structures.We illustrate the principles of Programmatic Semantics with a description of Metafor, a "brainstorming" editor for programs, analogous to an outlining tool for prose writing. Metafor interactively converts English sentences to partially specified program code, to be used as "scaffolding" for a more detailed program. A user study showed that Metafor is capable of capturing enough Programmatic Semantics to facilitate non-programming users and beginners' conceptualization of programming problems.
| Year | Citations | |
|---|---|---|
Page 1
Page 1