A FORMAL SPECIFICATION OF DOCUMENT PROCESSING

Citation
Al. Brown et al., A FORMAL SPECIFICATION OF DOCUMENT PROCESSING, Mathematical and computer modelling, 25(4), 1997, pp. 57-72
Citations number
20
Categorie Soggetti
Mathematics,Mathematics,"Computer Science Interdisciplinary Applications","Computer Science Software Graphycs Programming
ISSN journal
08957177
Volume
25
Issue
4
Year of publication
1997
Pages
57 - 72
Database
ISI
SICI code
0895-7177(1997)25:4<57:AFSODP>2.0.ZU;2-F
Abstract
We propose a computational model of structured documents and their pro cessing based on preferential attribute grammar schemes and grammar co ordinations. Our grammar-based model can be viewed as a specification of composable structure transformations. The main novel features are d eclarative specification of preferential constraints, and specificatio n of structure transformations at the level of meta-data through coord ination schemes; The preferential constraints may express constraints to guide computations as in dynamic programming, as well as constraint s to control declaratively the outcome of transformation. A coordinati on is essentially a partial substitution map from the vocabulary of a grammar to languages over the vocabulary of another grammar. Although our grammar-based coordination schemes are designed to capture various types of document processing (such as view processing and query proce ssing), we focus on the document layout application in this work. Our first main result shows that when the coordination map satisfies the u niformity condition, the two grammars (of the layout coordination sche me) are syntactically coordinated in the sense that trees of the first grammar are always transformable to trees of the second grammar, whil e satisfying the constraints imposed by the coordination. We then show that the elementary uniformity is a decidable property when the coord ination is regular, thereby establishing a decidable class of coordina ted grammar schemes.