Visual Language Parsing: If I Had a Hammer

Since the 1960s, grammatical formalisms and parsing methods developed originally for natural language strings have been extended to represent and process two-dimensional visual expressions such as mathematics notation and various kinds of diagrams. But despite all of the effort, there has been negligible impact on human-computer interfaces to support visual modes of communication. Why? As with all tech transfer issues, some of the reasons may be beyond a researcher's control. However, I believe that two of the contributing factors in the case of visual language (VL) parsing can and should be addressed by the research field. First, the field needs to consolidate and communicate its results. This is in fact not trivial for higher-dimensional visual language representation and parsing, and I will try to illustrate why. Second, researchers have to look harder for the right application domains. One of the obvious applications is the interpretation of visual language expressions constructed with GUIs. While grammatical representation and parsing may bring something to the table, the problem of interpretation may be solvable with simpler techniques. I will discuss some other application areas and my experience with them: design support, smart screen layout for electronic publishing, and visual focusing for attributed graphs.

[1]  Louis Weitzman,et al.  Automatic presentation of multimedia documents using relational grammars , 1994, MULTIMEDIA '94.

[2]  Arne Frick,et al.  Automatic Graph Clustering , 1996, GD.

[3]  Kenneth M. Kahn,et al.  Complete visualizations of concurrent programs and their executions , 1990, Proceedings of the 1990 IEEE Workshop on Visual Languages.

[4]  Alfred V. Aho,et al.  LR Parsing , 1974, ACM Comput. Surv..

[5]  Wolfgang Wahlster,et al.  User and discourse models for multimodal communication , 1991 .

[6]  Manfred Nagl,et al.  Graph-Grammars and Their Application to Computer Science , 1986, Lecture Notes in Computer Science.

[7]  Manfred Nagl Bibliography on graph-rewriting systems (graph grammars) , 1982, Graph-Grammars and Their Application to Computer Science.

[8]  Olof Hagsand,et al.  Generation of visual language-oriented design environments , 1990, J. Vis. Lang. Comput..

[9]  Masaru Tomita,et al.  A generalized parser for 2-D languages , 1991, Proceedings 1991 IEEE Workshop on Visual Languages.

[10]  Louis Weitzman,et al.  Relational grammars for interactive design , 1993, Proceedings 1993 IEEE Symposium on Visual Languages.

[11]  David Weimer,et al.  Interaction techniques using hand tracking and speech recognition , 1992 .

[12]  Azriel Rosenfeld,et al.  ARRAY, TREE AND GRAPH GRAMMARS , 1990 .

[13]  Alan C. Shaw,et al.  A Formal Picture Description Scheme as a Basis for Picture Processing Systems , 1969, Inf. Control..

[14]  James A. Landay,et al.  Interactive sketching for the early stages of user interface design , 1995, CHI '95.

[15]  Robert H. Anderson Syntax-directed recognition of hand-printed two-dimensional mathematics , 1967, Symposium on Interactive Systems for Experimental Applied Mathematics.

[16]  King-Sun Fu,et al.  Syntactic Methods in Pattern Recognition , 1974, IEEE Transactions on Systems, Man, and Cybernetics.

[17]  Shi-Kuo Chang The design of a visual language compiler , 1988, [Proceedings] 1988 IEEE Workshop on Visual Languages.

[18]  Aravind K. Joshi,et al.  Natural language parsing: Tree adjoining grammars: How much context-sensitivity is required to provide reasonable structural descriptions? , 1985 .

[19]  Kent Wittenburg Predictive Parsing for Unordered Relational Languages , 1996 .

[20]  Mark D. Gross,et al.  Recognizing and interpreting diagrams in design , 1994, AVI '94.

[21]  Kent Wittenburg Earley-style parsing for relational grammars , 1992, Proceedings IEEE Workshop on Visual Languages.

[22]  Bernd Meyer,et al.  Pictures depicting pictures on the specification of visual languages by visual grammars , 1992, Proceedings IEEE Workshop on Visual Languages.

[23]  Mark Minas,et al.  DiaGen: a generator for diagram editors providing direct manipulation and execution of diagrams , 1995, Proceedings of Symposium on Visual Languages.

[24]  Horst Bunke Attributed Programmed Graph Grammars and Their Application to Schematic Diagram Interpretation , 1982, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[25]  Louis Weitzman,et al.  Qualitative Visualization of Processes: Attributed Graph Layout and Focusing Techniques , 1996, Graph Drawing.

[26]  Neil Soiffer The design of a user interface for computer algebra systems , 1991 .

[27]  Franz-Josef Brandenburg,et al.  Designing Graph Drawings by Layout Graph Grammars , 1994, GD.

[28]  L. Weitzman,et al.  Grammar-based articulation for multimedia document design : Special section on ACM Multimedia 1994 , 1996 .

[29]  Louis Weitzman,et al.  Unification-based grammars and tabular parsing for graphical languages , 1991, J. Vis. Lang. Comput..

[30]  Stephen Wolfram,et al.  The Mathematica Book , 1996 .

[31]  Eric J. Golin,et al.  Parsing visual languages with picture layout grammars , 1991, J. Vis. Lang. Comput..

[32]  Luis Alberto Pineda Reference, Synthesis and Constraint Satisfaction * , 1992, Comput. Graph. Forum.

[33]  Eric J. Golin,et al.  The specification of visual language syntax , 1989, [Proceedings] 1989 IEEE Workshop on Visual Languages.

[34]  T. B. Dinesh,et al.  Towards a visual programming environment generator for algebraic specifications , 1995, Proceedings of Symposium on Visual Languages.

[35]  Horst Bunke,et al.  Syntactic and structural pattern recognition : theory and applications , 1990 .

[36]  Louis Weitzman,et al.  Relational Grammars: Theory and Practice in a Visual Language Interface for Process Modeling , 1996 .

[37]  Axel Kramer,et al.  Translucent patches—dissolving windows , 1994, UIST '94.

[38]  Genny Tortora,et al.  Relation grammars and their application to multi-dimensional languages , 1991, J. Vis. Lang. Comput..

[39]  Kim Marriott,et al.  Automatic construction of user interfaces from constraint multiset grammars , 1995, Proceedings of Symposium on Visual Languages.

[40]  Philip T. Cox,et al.  Prograph: a step towards liberating programming from textual conditioning , 1989, [Proceedings] 1989 IEEE Workshop on Visual Languages.

[41]  Franz-Josef Brandenburg On Polynomial Time Graph Grammars , 1988, STACS.

[42]  Kim Marriott,et al.  A declarative specification and semantics for visual languages , 1991, J. Vis. Lang. Comput..