Caveat lector — built quickly with a guild of magic elves. If something is wrong, please tell me. — Aguas Infinitas, Star
the record · 2005 · semantics of natural language

Metafor: visualizing stories as code

Hugo Liu & Henry Lieberman (2005). Proceedings of the ACM International Conference on Intelligent User Interfaces (IUI 2005), 305–307, ACM Press.

150 citations
PDF

Metafor treats a story as an early program model. MontyLingua parses typed English into subject-verb-object structures; ConceptNet helps constrain plausible readings; semantic recognizers update a code model; and a Python renderer continuously shows the emerging scaffolding. Nouns can become objects or classes, verbs functions, adjectives properties, and “when” clauses conditions. Later sentences may refactor earlier interpretations as context accumulates. Thirteen beginner and intermediate programmers estimated the effort required to build Pacman, brainstormed with Metafor, and revised their estimates. Beginners reported a 22 percent reduction and intermediates 11 percent, with greater willingness to use the system than paper. These are confidence judgments, not completed programming tasks; the examiner sometimes rephrased input, coverage was partial, and generated code might not run.

← the record, in the papers room