ACL-OCL / Base_JSON /prefixI /json /iwpt /1991.iwpt-1.27.json
Benjamin Aw
Add updated pkl file v3
6fa4bc9
{
"paper_id": "1991",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T07:34:36.756131Z"
},
"title": "PARSING 2-D LANGUAGES WITH POSITIONAL GRAMMARS",
"authors": [
{
"first": "Gennaro",
"middle": [],
"last": "Costagliola",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Pittsburgh Pittsburgh",
"location": {
"postCode": "15260",
"region": "PA"
}
},
"email": ""
},
{
"first": "Shi-Kuo",
"middle": [],
"last": "Chang",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Pittsburgh Pittsburgh",
"location": {
"postCode": "15260",
"region": "PA"
}
},
"email": ""
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "In this paper we will present a way 10 parse two-dimensional languages using LR parsing tables. To do this we describe two-dimensional (positional) grammars as a generalization of the context-free string grammars. The main idea behind this is to allow a traditional LR parser to choose the next symbol to parse from a two-dimensional space. Cases of ambiguity are analyzed and some ways to avoid them are presented. Finally, we consrruct a parser fo r the two-dimensional arithmetic expression language and implement it by using the tool Yacc.",
"pdf_parse": {
"paper_id": "1991",
"_pdf_hash": "",
"abstract": [
{
"text": "In this paper we will present a way 10 parse two-dimensional languages using LR parsing tables. To do this we describe two-dimensional (positional) grammars as a generalization of the context-free string grammars. The main idea behind this is to allow a traditional LR parser to choose the next symbol to parse from a two-dimensional space. Cases of ambiguity are analyzed and some ways to avoid them are presented. Finally, we consrruct a parser fo r the two-dimensional arithmetic expression language and implement it by using the tool Yacc.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "In this paper, we present an extension of a context-free grammar by explicitly describing the positional relations between the elements (terminals and non-terminals) in the right hand-side of each production rule of the grammar. As these relations can be very general, the resulting grammar can be seen as a generalization of Tomita's 2-D Chomsky Normal Form grammar where only horizontal and vertical relations are allowed.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "One of the latest approaches in parsing 2-D languages has been presented by Tomita in [37), where he introduces a 2-D Chomsky Normal Form grammar and constructs extensions to the two-dimensional case of Earley\u2022 s and LR parsing algo rithms.",
"sec_num": null
},
{
"text": "The resulting parser for such a positional grammar is con structed by simply adding a column to the LR parsing table. This column contains the position of the next symbol to be shifted, for each state. Unlikely from the 2-D LR parsing algo rithms given in [37] , our parser slightly modifies the original LR parsing algorithm, so that the tool Y ace can be easily used to construct a two-dimensional parser for a positional gram",
"cite_spans": [
{
"start": 256,
"end": 260,
"text": "[37]",
"ref_id": "BIBREF36"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "One of the latest approaches in parsing 2-D languages has been presented by Tomita in [37), where he introduces a 2-D Chomsky Normal Form grammar and constructs extensions to the two-dimensional case of Earley\u2022 s and LR parsing algo rithms.",
"sec_num": null
},
{
"text": "Furthermore, we analyze cases of ambiguity, give some ways to avoid them and then present a general methodology to parse two-dimensional patterns applying it to the case of the two-dimensional arithmetic expressions.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "mar.",
"sec_num": null
},
{
"text": "tion. Each of them is based on the particular data structure used for representing the pictures: a string,-an array, a tree, a graph, and a plex.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Many other approaches have been proposed till now in high dimensional syntactic pattern representation and recogni-",
"sec_num": null
},
{
"text": "One of the first approaches is given by a traditional string grammar in which more general relations (HOR, VER, ABOVE, LEFT, etc.), other than concatenation, are allowed among primitives in the pattern [2, 8, 16] . Shaw, by attaching a \"head\" and a \"tail\" to each primitive, has used four binary operators for defining binary concatenation relations between primitives. A context-free string grammar is used to generate the resulting Picture Description Language (POL) [16, 31] .",
"cite_spans": [
{
"start": 202,
"end": 205,
"text": "[2,",
"ref_id": "BIBREF1"
},
{
"start": 206,
"end": 208,
"text": "8,",
"ref_id": "BIBREF7"
},
{
"start": 209,
"end": 212,
"text": "16]",
"ref_id": "BIBREF15"
},
{
"start": 469,
"end": 473,
"text": "[16,",
"ref_id": "BIBREF15"
},
{
"start": 474,
"end": 477,
"text": "31]",
"ref_id": "BIBREF30"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Many other approaches have been proposed till now in high dimensional syntactic pattern representation and recogni-",
"sec_num": null
},
{
"text": "Another interesting approach using a string grammar, has been given in [5] where each primitive has associated spatial attributes.",
"cite_spans": [
{
"start": 71,
"end": 74,
"text": "[5]",
"ref_id": "BIBREF4"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Many other approaches have been proposed till now in high dimensional syntactic pattern representation and recogni-",
"sec_num": null
},
{
"text": "A simple two-dimensional generalization of string gram mars is to extend grammars for one-dimensional strings to two-dimensional arrays [23, 28, 35, 38] . The primitives arc the array elements and the relation between primitives is the two dimensional concatenation.",
"cite_spans": [
{
"start": 136,
"end": 140,
"text": "[23,",
"ref_id": "BIBREF22"
},
{
"start": 141,
"end": 144,
"text": "28,",
"ref_id": "BIBREF27"
},
{
"start": 145,
"end": 148,
"text": "35,",
"ref_id": "BIBREF34"
},
{
"start": 149,
"end": 152,
"text": "38]",
"ref_id": "BIBREF37"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Many other approaches have been proposed till now in high dimensional syntactic pattern representation and recogni-",
"sec_num": null
},
{
"text": "Pf alz and Rosenberg have extended the concept of string grammar to grammars for labeled graphs called webs [16, 17, 26, 27, 29] . These grammars were originally suggested as a syntactical formalism for data structure useful in image analysis. An application of graph languages for describing scenes is of frequent occurrence in the literature dealing with image processing, whereas the use of graph grammars for pat tern recognition is rare (for this purpose tree grammars are applied inste\ufffd [3, 17, 18, 22, 30, 32] ). Difficulties concerning building a syntax analyzcr for graph grammars are causes of \ufffdis situation. Recently, however, parsing methods _ for a par ocular kind of graph grammar have been proposed, and an efficient parsing, close to the parsing efficiency of tree languages, has been obtained [15, 21, 33) .",
"cite_spans": [
{
"start": 108,
"end": 112,
"text": "[16,",
"ref_id": "BIBREF15"
},
{
"start": 113,
"end": 116,
"text": "17,",
"ref_id": "BIBREF16"
},
{
"start": 117,
"end": 120,
"text": "26,",
"ref_id": "BIBREF25"
},
{
"start": 121,
"end": 124,
"text": "27,",
"ref_id": "BIBREF26"
},
{
"start": 125,
"end": 128,
"text": "29]",
"ref_id": "BIBREF28"
},
{
"start": 493,
"end": 496,
"text": "[3,",
"ref_id": "BIBREF2"
},
{
"start": 497,
"end": 500,
"text": "17,",
"ref_id": "BIBREF16"
},
{
"start": 501,
"end": 504,
"text": "18,",
"ref_id": "BIBREF17"
},
{
"start": 505,
"end": 508,
"text": "22,",
"ref_id": "BIBREF21"
},
{
"start": 509,
"end": 512,
"text": "30,",
"ref_id": "BIBREF29"
},
{
"start": 513,
"end": 516,
"text": "32]",
"ref_id": "BIBREF31"
},
{
"start": 810,
"end": 814,
"text": "[15,",
"ref_id": "BIBREF14"
},
{
"start": 815,
"end": 818,
"text": "21,",
"ref_id": "BIBREF20"
},
{
"start": 819,
"end": 822,
"text": "33)",
"ref_id": "BIBREF32"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Many other approaches have been proposed till now in high dimensional syntactic pattern representation and recogni-",
"sec_num": null
},
{
"text": "Based on an idea in the work of Narasimhan [24] , Feder [14 ) has formalized a \"plex\" grammar which generates languages with terminals having an arbitrary number of attach ing points in order to connect to other primitives or sub patterns. The primitives of the plex grammar are called N Attaching Point Entities (NAPEs). Plex structures defined by a plex grammar may be viewed as a hypergraph, with each NAPE corresponding to a hypcredge. Therefore this kind of plex grammar is a more general model than that of graph gram-mar. Until recently, however, very little was known about the parsing method for plex grammars. Recently, a parsing method has been developed (25] to achieve more efficient parsing of plex grammars, by adapting Earley parsing algorithm, (13] .",
"cite_spans": [
{
"start": 43,
"end": 47,
"text": "[24]",
"ref_id": "BIBREF23"
},
{
"start": 666,
"end": 670,
"text": "(25]",
"ref_id": "BIBREF24"
},
{
"start": 761,
"end": 765,
"text": "(13]",
"ref_id": "BIBREF12"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Many other approaches have been proposed till now in high dimensional syntactic pattern representation and recogni-",
"sec_num": null
},
{
"text": "The paper is organized as follows. In Section 2 the posi tional grammar is defined, and some examples are given. In Section 3 the extension of the LR parser, named positional LR (pLR) parser, is prescnte.d along with a description of the pLR parsing tables and of the parsing algorithm. In Section 4 con siderations of ambiguity are given along with the construction of a pLR parser for the arithmetic expression grammar. In Sec tion 5 we present the general methodology for parsing 2-D languages generate.d by a positional grammar. The conclusions are in Section 6. The following definitions are understood to be with respect to a particular positional grammar G.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Many other approaches have been proposed till now in high dimensional syntactic pattern representation and recogni-",
"sec_num": null
},
{
"text": "We write TT => l: if there exist \ufffd. r, A, 11 such that TT = r M, A \u2794 11 is a production and l: = r11\ufffd.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "POSITIONAL GRAMMARS",
"sec_num": null
},
{
"text": "We write n =>* l: (l: is derived from TT) if there exist strings flo ,",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "POSITIONAL GRAMMARS",
"sec_num": null
},
{
"text": "Il 1 \u2022 \u2022 \u2022 n ,,. (m 2: 0) such that n =no=> n 1 => \u2022 .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "POSITIONAL GRAMMARS",
"sec_num": null
},
{
"text": ". => n ,,. = 1: The sequence flo . ... , n ,,. is called a derivation of l: from n. A positional sentential fo rm is a string n such that S =>* n. where pos is the spatial position of the token w[i ], and a stan ing index that points to the first token to parse. The association between a position and a token allows us to reach a token in w each time its spatial position has been given and viceversa. The input tape is, then, no longer required to be accessed sequentially but rather, according to the positional require ments given by the parser.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "POSITIONAL GRAMMARS",
"sec_num": null
},
{
"text": "In this context, the definition of the sequential end-of string marker must be extented. In fact, the end-of-string marker hides an operational aspect: when parsed, it signals that no symbols to parse are left. While in a sequential scanning nothing must be done other than recognizing the '$' character, in a non-sequential scanning such operational aspect must be made explicit Before returning an end-of-input symbol, the scanner has to check whether all the symbols have been parsed.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "POSITIONAL GRAMMARS",
"sec_num": null
},
{
"text": "In where o is the distance between each couple of dots. in \u2022 the column \" po sition\" can be considered as pointers to the code implementing the operators. As the construction of the \" po sition\" column does not affect the other entries of the original LR parsing table, we can use the traditional three techniques (with some variations) for having Simple pLR, canonical pLR and LookAhead pLR parsers.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "POSITIONAL GRAMMARS",
"sec_num": null
},
{
"text": "A pLR(0) item of a positional grammar PG is a produc tion of PG with a dot at some po sition of the right side. A dot. however\ufffd can never be between a po sitional operator identifier and either a terminal or a non terminal, in this order. Thus, a production A \u2794 SP X REL 1 Y REL 2 Z yields the four items:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "3.2) For the arithmetic expression grammar the operators",
"sec_num": null
},
{
"text": "A \u2794 .SP X REL 1 YREL 2 Z A \u2794 SP X .REL 1 Y REL 2 Z A \u2794 SP X REL 1 Y .REL 2 Z A \u2794 _ SP X REL . 1 YREL 2 Z.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "3.2) For the arithmetic expression grammar the operators",
"sec_num": null
},
{
"text": "Intuitively, an item indicates how much of a production we have seen at a given point in the parsing process. For example, the first item above indicates that we hope next to see a pattern derivable from XYZ starting from position SP. The second item indicates that we have just seen on the input a pat tern derivable from X and that we hope next to .see a pattei:n derivable from YZ starting from the po sition specified by the operator associated to REL 1 .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "3.2) For the arithmetic expression grammar the operators",
"sec_num": null
},
{
"text": "If PG is a grammar with starting symbol S, then PG', the aug mented positional grammar for PG, is PG with a new starting symbol S' and production S' := SP S. array of tokens w, a starting index in w, and a list Q of couples (pos , i ) ; the specification of a set of positional operators, and the pLR parsing table with functions \"action\", \"goto\" and \"position\" for a positional grammar PG.",
"cite_spans": [],
"ref_spans": [
{
"start": 158,
"end": 236,
"text": "array of tokens w, a starting index in w, and a list Q of couples (pos , i )",
"ref_id": null
}
],
"eq_spans": [],
"section": "3.2) For the arithmetic expression grammar the operators",
"sec_num": null
},
{
"text": "Each time the pLr parser reaches a state in the recognition of the pattern, .the next symbol to parse is determined by using the positional operator associated to that state. As in LR pars ing, a same symbol cannot be considered more than once.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "3.2) For the arithmetic expression grammar the operators",
"sec_num": null
},
{
"text": "Details on the Positional LR parsing algorithm can be found in (9, 10). Figure 3. 3 and applying the pLR parsing algo rithm, it can be verified that the following picture",
"cite_spans": [],
"ref_spans": [
{
"start": 72,
"end": 81,
"text": "Figure 3.",
"ref_id": null
}
],
"eq_spans": [],
"section": "3.2) For the arithmetic expression grammar the operators",
"sec_num": null
},
{
"text": "=> \u25a1\u25a1 \u25a1\u25a1 is accepted. In particular, note that the parser drives the scanning of the input such that the first block is visited by columns, and the second block by rows, according to the productions of the grammar. All the other ways of scanning this input are not taken into consideration.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u25a1\u25a1 no",
"sec_num": null
},
{
"text": "In Section 2 we gave a two-dimensional version of the grammar given in [1] for arithmetic expressions. We will show now that this grammar is not pLR( 1) from the fact that it has conflicts regar\ufffding the position of the next symbol. Let us con sider the following pictorial form:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "AMBIGUITY CONSIDERATIONS In this Section we will show that conflicts in positions can lead to conflicts in the \"action\" part of the parsing table even if it has no multiple entries.",
"sec_num": null
},
{
"text": "T ' d -+, id",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "AMBIGUITY CONSIDERATIONS In this Section we will show that conflicts in positions can lead to conflicts in the \"action\" part of the parsing table even if it has no multiple entries.",
"sec_num": null
},
{
"text": "assuming that T has already been reduced.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "AMBIGUITY CONSIDERATIONS In this Section we will show that conflicts in positions can lead to conflicts in the \"action\" part of the parsing table even if it has no multiple entries.",
"sec_num": null
},
{
"text": "After reducing T, the parser has to decide whether to choose 'hbar ' in vertical reading, or '+' in horizontal reading. Both the alternatives are valid: if 'hbar ' is chosen, then the parser has to shift, otherwise it has to reduce. One possibility for avoiding this conflict is to assign priority to each positional operator. In this example we could decide that the vertical reading has always higher priority than the horizontal one. This would respect the priority between 'hbar ' and '+' implicitly given in the grammar. But, if this other example is considered",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "AMBIGUITY CONSIDERATIONS In this Section we will show that conflicts in positions can lead to conflicts in the \"action\" part of the parsing table even if it has no multiple entries.",
"sec_num": null
},
{
"text": "the priority resolution will fail. In fact, in this case, after read ing T, we want to move horizontally because of the parenthesis, and not vertically. Another possibility for avoiding this conflict is to give a \"smart\" representation of the two-dimensional pattern deriving it from techniques of image analysis like dominancy (4, 12]. Last but not least, we can construct an equivalent pLR( 1) grammar as it is normally done for solving conflicts in LR parsers. Following these ideas, the pLR( 1) grammar for the arithmetic expressions has been constructed: The new grammar, then, has a particular section dedicated to the generation of the numerator of any division.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "...... ( T _+ _ id __ ) + id id",
"sec_num": null
},
{
"text": "During the recognition, this allows us to decide whether the expression to be parsed is the numerator of a division or not. In particular, the new terminals i and l mark the beginning and the end of any complex numerator, respectively, and the terminal kl. is the simple numerator.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "...... ( T _+ _ id __ ) + id id",
"sec_num": null
},
{
"text": "EQUATION",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [
{
"start": 0,
"end": 8,
"text": "EQUATION",
"ref_id": "EQREF",
"raw_str": "- ICIIOII _, s ill + ) ( ill l L E' E T F -r F\" posiaon 0 ,",
"eq_num": "1 15"
}
],
"section": "...... ( T _+ _ id __ ) + id id",
"sec_num": null
},
{
"text": ".. ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "116",
"sec_num": null
},
{
"text": ".. IV. Construct the parser. Point I requires a general data structure to represent the original symbolic picture input. This can be a matrix of sym bols, or an iconic index, i. e., an analogous linear representa tion based on the projections of the symbols: the 2-D string as defined in [6] , or, for high dimensional symbolic patterns, the Gen_string, [ 11] . As the whole parsing model presented is extensible to the n-D case ( n >2) just considering positional relations and operators for the n-dimensional space, \ufffde will make use of the Gen_string iconic index. The characteristics of it and the algorithms to derive it from a high dimensional pattern are given in [ 11] . In the proposed implementation, each element of the Gen_string is a-token. A lexical analyzer to construct such a Gen_string can be obtained by using the same actions described above, but allowing the elements of the gen eral data structure (another Gen_string) to be elementary items or pixels.",
"cite_spans": [
{
"start": 288,
"end": 291,
"text": "[6]",
"ref_id": "BIBREF5"
},
{
"start": 354,
"end": 359,
"text": "[ 11]",
"ref_id": "BIBREF10"
},
{
"start": 670,
"end": 675,
"text": "[ 11]",
"ref_id": "BIBREF10"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "16",
"sec_num": null
},
{
"text": "Point II requires the construction of the pLR linear posi tional grammar along with the positional operators.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "16",
"sec_num": null
},
{
"text": "Point III requires routines for the conversion of the gen eral data structure into an array of tokens w, a starting index in w, SP, and an association list Q of positions and tokens. In par ticular the list Q must be implemented such that the positional operators can be executed efficiently.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "16",
"sec_num": null
},
{
"text": "Finally, Point IV requires the construction of the parser. As a result of Theorem 7.1 in[9], this can be done by translat ing the positional LR grammar into an LR grammar with actions and then by using the tool Yacc, [20] .",
"cite_spans": [
{
"start": 217,
"end": 221,
"text": "[20]",
"ref_id": "BIBREF19"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "16",
"sec_num": null
},
{
"text": "As an example of the construction given in that Theorem, let us consider the the positional LR grammar for the arith metic expressions. The resulting LR context free grammar with actions is: ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "16",
"sec_num": null
},
{
"text": "In this paper we constructed a parser for \u2022 a subclass of symbolic\u2022 pictorial languages. We showed that this class con tains the context-free string languages and th\ufffdt a complex language like the two-dimensional arithmetic ex p ression language can be parsed by the proposed model. -W \ufffd \ufffd showed that this class has a real nice property: the posStbility to be parsed in a very simple way by using an existing tool. ([7, 12, 19, 34] ).",
"cite_spans": [],
"ref_spans": [
{
"start": 415,
"end": 431,
"text": "([7, 12, 19, 34]",
"ref_id": "FIGREF7"
}
],
"eq_spans": [],
"section": "CONCLUSIONS",
"sec_num": null
},
{
"text": "In the future we intend to extend the subclass of pictorial languages parseable by constructing more powerful parsers. A first approach regards the extension of the concept of symbol to an N-Attaching Point Entity as defined in [14] . \u2022 A second approach regards instead the possibility to have more than one positional relation between two symbols. In this way a symbol can be connected to non-adjacent symbols, too.",
"cite_spans": [
{
"start": 228,
"end": 232,
"text": "[14]",
"ref_id": "BIBREF13"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "CONCLUSIONS",
"sec_num": null
}
],
"back_matter": [],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Compilers, princi ples, techniques, and tools",
"authors": [
{
"first": "A",
"middle": [
"V"
],
"last": "Aho",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Sethi",
"suffix": ""
},
{
"first": ".",
"middle": [],
"last": "",
"suffix": ""
},
{
"first": "'",
"middle": [
"D"
],
"last": "Ullman",
"suffix": ""
}
],
"year": 1985,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "A. V. Aho, R. Sethi, . . and J:'D. Ullman, Compilers, princi ples, techniques, and tools, Addison Wesiey, 1985.'",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Relational Descrip tions in picture processing",
"authors": [
{
"first": "H",
"middle": [
"G"
],
"last": "Barrow",
"suffix": ""
},
{
"first": "J",
"middle": [
"R"
],
"last": "Popplestone",
"suffix": ""
}
],
"year": 1971,
"venue": "Machine Intelligence",
"volume": "6",
"issue": "",
"pages": "377--396",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "H.G. Barrow and J.R. Popplestone, \"Relational Descrip tions in picture processing,\" Machine Intelligence, vol. 6, pp. 377-396, 1971.",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "Parallel Parsing of Tree Languages for Syntactic Pancm Recognition",
"authors": [
{
"first": "N",
"middle": [
"S"
],
"last": "Chang",
"suffix": ""
},
{
"first": "K",
"middle": [
"S"
],
"last": "Fu",
"suffix": ""
}
],
"year": 1979,
"venue": "Pattern Recognition",
"volume": "11",
"issue": "3",
"pages": "213--222",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "N.S. Chang and K.S. Fu, \"Parallel Parsing of Tree Languages for Syntactic Pancm Recognition,\" Pattern Recognition, vol. 11, no. 3, pp. 213-222, 1979.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "A Method for the Structural Analysis of Two \u2022 Dimensional Mathematical Expressions,'' I nfo rmation",
"authors": [
{
"first": "S.-K",
"middle": [],
"last": "Chang",
"suffix": ""
}
],
"year": 1970,
"venue": "Sciences",
"volume": "2",
"issue": "",
"pages": "253--272",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.-K. Chang, \"A Method for the Structural Analysis of Two \u2022 Dimensional Mathematical Expressions,'' I nfo rma- tion Sciences, vol. 2, pp. 253-272, 1970.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "Picture Processing Grammar and its Appli cations",
"authors": [
{
"first": "S.-K",
"middle": [],
"last": "Chang",
"suffix": ""
}
],
"year": 1971,
"venue": "Information Sciences",
"volume": "3",
"issue": "",
"pages": "121--148",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.-K. Chang, \"Picture Processing Grammar and its Appli cations,\" Information Sciences, vol. 3, pp. 121 _ -148, 1971.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Iconic Indexing by 2-D strings",
"authors": [
{
"first": "S.-K",
"middle": [],
"last": "Chang",
"suffix": ""
},
{
"first": "Q",
"middle": [
"Y"
],
"last": "Shi",
"suffix": ""
},
{
"first": "C",
"middle": [
"W"
],
"last": "Yan",
"suffix": ""
}
],
"year": 1984,
"venue": "IEEE Transactions on Pattern Analysis and Machine Intelligence",
"volume": "",
"issue": "6",
"pages": "475--484",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.-K. Chang, Q.Y. Shi, and C.W. Yan, \"Iconic Indexing by 2-D strings,\" IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI-6, no. 4, pp. 475- 484, July 1984.",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "A Visual Language Compiler",
"authors": [
{
"first": "S.-K",
"middle": [],
"last": "Chang",
"suffix": ""
},
{
"first": "M",
"middle": [
"J"
],
"last": "Tauber",
"suffix": ""
},
{
"first": "B",
"middle": [],
"last": "Yu",
"suffix": ""
},
{
"first": "J",
"middle": [
"S"
],
"last": "Yu",
"suffix": ""
}
],
"year": 1989,
"venue": "IEEE Transactions on Software Engineering",
"volume": "15",
"issue": "5",
"pages": "506--525",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.-K. Chang, M.J. Tauber, B. Yu, and J.S. Yu, \"A Visual Language Compiler, \" IEEE Transactions on Software Engineering , vol. 15, no. 5, pp. 506-525, 1989.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Pictorial Relationships -A Syntactic Approach",
"authors": [
{
"first": "M",
"middle": [
"B"
],
"last": "Clowes",
"suffix": ""
}
],
"year": 1969,
"venue": "Machine Intelligence",
"volume": "4",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "M.B. Clowes, \"Pictorial Relationships -A Syntactic Approach,'' Machine Intelligence, vol. 4, Amer. Elsevier, New York, 1969.",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "Parsing Linear Pictorial Languages by Syntax-Directed Scanning",
"authors": [
{
"first": "G",
"middle": [],
"last": "Costagliola",
"suffix": ""
},
{
"first": "S.-K",
"middle": [],
"last": "Chang",
"suffix": ""
}
],
"year": null,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "G. Costagliola and S.-K. Chang, \"Parsing Linear Pictorial Languages by Syntax-Directed Scanning,'' submitted to JA CM.",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "DR PARSERS: a gen eralization of LR parsers",
"authors": [
{
"first": "G",
"middle": [],
"last": "Costagliola",
"suffix": ""
},
{
"first": "S.-K",
"middle": [],
"last": "Chang",
"suffix": ""
}
],
"year": 2006,
"venue": "Proc. of 1990 IEEE Workshop on Visual Languages",
"volume": "",
"issue": "",
"pages": "174--180",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "G. Costagliola and S.-K. Chang, \"DR PARSERS: a gen eralization of LR parsers,\" Proc. of 1990 IEEE Workshop on Visual Languages, pp. 174-180, Skokie, Illinois, USA, October 4-6.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "A Unifying Approach to Iconic Indexing for 2-D and -3-D SGenes",
"authors": [
{
"first": "G",
"middle": [],
"last": "Costagliola",
"suffix": ""
},
{
"first": "G",
"middle": [],
"last": "Tonora",
"suffix": ""
},
{
"first": "T",
"middle": [],
"last": "Arndt",
"suffix": ""
}
],
"year": null,
"venue": "IEEE Transactions on Knowledge and Data Engineering",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "G. Costagliola, G. Tonora, and T. Arndt, \"A Unifying Approach to Iconic Indexing for 2-D and -3-D SGenes,' ' to appear in IEEE Transactions on Knowledge and Data Engineering.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "Automating Visual Language Generation",
"authors": [
{
"first": "C",
"middle": [],
"last": "Crimi",
"suffix": ""
},
{
"first": "A",
"middle": [],
"last": "Guercio",
"suffix": ""
},
{
"first": "G",
"middle": [],
"last": "Pacini",
"suffix": ""
},
{
"first": "G",
"middle": [],
"last": "Tonora",
"suffix": ""
},
{
"first": "__",
"middle": [
"M"
],
"last": "Tucci",
"suffix": ""
}
],
"year": 1990,
"venue": "IEEE Transactions on Software E,rzgineering",
"volume": "16",
"issue": "10",
"pages": "1122--1135",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "C. Crimi, A. Guercio, G. Pacini, G. Tonora, and __ M. Tucci, '' Automating Visual Language Generation,'' IEEE Transactions on Software E,rzgineering, vol. 16 , . no. 10, pp. 1122-1135, October 1990.",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "An Efficient Context-Free Parsing Algo rithm",
"authors": [
{
"first": "I",
"middle": [],
"last": "Earley",
"suffix": ""
}
],
"year": 1970,
"venue": "Communications of the ACM",
"volume": "13",
"issue": "",
"pages": "94--102",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "I. Earley, \"An Efficient Context-Free Parsing Algo rithm,\" Communications of the ACM, vol. 13, pp. 94-102, 1970.",
"links": null
},
"BIBREF13": {
"ref_id": "b13",
"title": "Plex Languages",
"authors": [
{
"first": "I",
"middle": [],
"last": "Feder",
"suffix": ""
}
],
"year": 1971,
"venue": "Information Sciences",
"volume": "3",
"issue": "",
"pages": "225--241",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "I. Feder, \"Plex Languages,\" Information Sciences, vol. 3, pp. 225-241, 1971.",
"links": null
},
"BIBREF14": {
"ref_id": "b14",
"title": "Characteristics of edNLC-Graph Grammar for Syntactic Pattern Recognition",
"authors": [
{
"first": "M",
"middle": [],
"last": "Aasinski",
"suffix": ""
}
],
"year": 1989,
"venue": "Computer Vision Graphics and Image Processing",
"volume": "47",
"issue": "",
"pages": "1--21",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "M. Aasinski, ''Characteristics of edNLC-Graph Grammar for Syntactic Pattern Recognition,\" Computer Vision Graphics and Image Processing, vol. 47, pp. 1-21, 1989.",
"links": null
},
"BIBREF15": {
"ref_id": "b15",
"title": "Syntactic Methods in Pattern Recognition",
"authors": [
{
"first": "K",
"middle": [
"S"
],
"last": "Fu",
"suffix": ""
}
],
"year": 1974,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "K.S. Fu, Syntactic Methods in Pattern Recognition, Academic Press, New York and London, 1974.",
"links": null
},
"BIBREF16": {
"ref_id": "b16",
"title": "Syntactic Pattern Recognition and Applications",
"authors": [
{
"first": "K",
"middle": [
"S"
],
"last": "Fu",
"suffix": ""
}
],
"year": 1982,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "K.S. Fu, Syntactic Pattern Recognition and Applications, Prentice Hall, Inc. Englewood Cliffs, N.I., 1982.",
"links": null
},
"BIBREF17": {
"ref_id": "b17",
"title": "Tree Systems for Syntactic Pattern Recognition",
"authors": [
{
"first": "K",
"middle": [
"S"
],
"last": "Fu",
"suffix": ""
},
{
"first": "B",
"middle": [
"K"
],
"last": "Bhargava",
"suffix": ""
}
],
"year": 1973,
"venue": "IEEE Trans. Comput",
"volume": "22",
"issue": "12",
"pages": "1089--1099",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "K.S. Fu and B.K. Bhargava. \"Tree Systems for Syntactic Pattern Recognition,\" IEEE Trans. Comput. , vol. C-22 (12), pp. 1089-1099, 1973.",
"links": null
},
"BIBREF18": {
"ref_id": "b18",
"title": "The Specification of Visual Language Syntax",
"authors": [
{
"first": "E",
"middle": [
"J"
],
"last": "Golin",
"suffix": ""
},
{
"first": "S",
"middle": [
"P"
],
"last": "Reiss",
"suffix": ""
}
],
"year": 2006,
"venue": "Proc. of 1989 IEEE Workshop on Visual Languages",
"volume": "",
"issue": "",
"pages": "105--110",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "E.J. Golin and S.P. Reiss, \"The Specification of Visual Language Syntax,\" Proc. of 1989 IEEE Workshop on Visual Languages, pp. 105-110, Rome/Italy, October 4-6.",
"links": null
},
"BIBREF19": {
"ref_id": "b19",
"title": "Yacc: Yet Another Compiler-Compiler",
"authors": [
{
"first": "S",
"middle": [
"C"
],
"last": "Johnson",
"suffix": ""
}
],
"year": 1974,
"venue": "tech. rep., Bell Laboratories",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.C. Johnson, \"Yacc: Yet Another Compiler-Compiler,\" tech. rep., Bell Laboratories, 1974.",
"links": null
},
"BIBREF20": {
"ref_id": "b20",
"title": "Attribute Expansive Graph Grammar for Pattern Description and its Problem-reduction Based Process ing",
"authors": [
{
"first": "C",
"middle": [
"Y"
],
"last": "Li",
"suffix": ""
},
{
"first": "T",
"middle": [],
"last": "Kawashima",
"suffix": ""
},
{
"first": "T",
"middle": [],
"last": "Yamamoto",
"suffix": ""
},
{
"first": "Y",
"middle": [],
"last": "Aoki",
"suffix": ""
}
],
"year": 1988,
"venue": "Trans. IEICE",
"volume": "71",
"issue": "4",
"pages": "43--44",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "C.Y. Li, T. Kawashima, T. Yamamoto, and Y. Aoki, '' Attribute Expansive Graph Grammar for Pattern Description and its Problem-reduction Based Process ing,\" Trans. IEICE, vol. E-71 (4), pp. 43 1-440, Japan, 1988.",
"links": null
},
"BIBREF21": {
"ref_id": "b21",
"title": "Error-correcting Tree Automata for Syntactic Pattern Recognition",
"authors": [
{
"first": "S",
"middle": [
"Y"
],
"last": "Lu",
"suffix": ""
},
{
"first": "K",
"middle": [
"S"
],
"last": "Fu",
"suffix": ""
}
],
"year": 1978,
"venue": "IEEE Trans. Com put",
"volume": "",
"issue": "",
"pages": "1040--1053",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.Y. Lu and K.S. Fu, \"Error-correcting Tree Automata for Syntactic Pattern Recognition,\" IEEE Trans. Com put., vol. C-27, pp. 1040-1053, 1978.",
"links": null
},
"BIBREF22": {
"ref_id": "b22",
"title": "Array Automata and Array Grammars",
"authors": [
{
"first": "D",
"middle": [
"L"
],
"last": "Milgram",
"suffix": ""
},
{
"first": "A",
"middle": [],
"last": "Rosenfeld",
"suffix": ""
}
],
"year": 1972,
"venue": "",
"volume": "71",
"issue": "",
"pages": "69--74",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "D.L. Milgram and A. Rosenfeld, \"Array Automata and Array Grammars,,\" Information Processing , vol. 71, pp. 69-74, North-Holland Publ., Amsterdam, 1972.",
"links": null
},
"BIBREF23": {
"ref_id": "b23",
"title": "Syntax-directed Interpretation of Classes of Pictures",
"authors": [
{
"first": "R",
"middle": [],
"last": "Narasimhan",
"suffix": ""
}
],
"year": 1966,
"venue": "Comm. ACM",
"volume": "9",
"issue": "",
"pages": "166--173",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "R. Narasimhan, \"Syntax-directed Interpretation of Classes of Pictures,\" Comm. ACM, vol. 9, pp. 166-173, 1966.",
"links": null
},
"BIBREF24": {
"ref_id": "b24",
"title": "A New Parsing Scheme for Plex Grammars",
"authors": [
{
"first": "K",
"middle": [
"I"
],
"last": "Peng",
"suffix": ""
},
{
"first": "T",
"middle": [],
"last": "Yamamoto",
"suffix": ""
},
{
"first": "Y",
"middle": [],
"last": "Aoki",
"suffix": ""
}
],
"year": 1990,
"venue": "Pattern Recognition",
"volume": "23",
"issue": "3/4",
"pages": "393--402",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "K. I. Peng, T. Yamamoto, and Y. Aoki, \"A New Parsing Scheme for Plex Grammars,\" Pattern Recognition, vol. 23 , no. 3/4, pp. 393-402, 1990.",
"links": null
},
"BIBREF25": {
"ref_id": "b25",
"title": "Web Grammars and Picture Description",
"authors": [
{
"first": "J",
"middle": [
"L"
],
"last": "Pfaltz",
"suffix": ""
}
],
"year": 1972,
"venue": "Comput. Graphics Image Processing",
"volume": "1",
"issue": "",
"pages": "193--220",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "J. L. Pfaltz, \"Web Grammars and Picture Description,\" Comput. Graphics Image Processing, vol. 1, pp. 193-220, 1972.",
"links": null
},
"BIBREF26": {
"ref_id": "b26",
"title": "Web Grammars",
"authors": [
{
"first": "J",
"middle": [
"L"
],
"last": "Pfaltz",
"suffix": ""
},
{
"first": "A",
"middle": [],
"last": "Rosenfeld",
"suffix": ""
}
],
"year": 1969,
"venue": "Proc. of First Int. Joint Conf. Artif Intell",
"volume": "",
"issue": "",
"pages": "609--619",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "J. L. Pfaltz and A. Rosenfeld, \"Web Grammars,\" Proc. of First Int. Joint Conf. Artif Intell., pp. 609-619, Wash ington, DC, May 1969.",
"links": null
},
"BIBREF27": {
"ref_id": "b27",
"title": "Picture languages: Formal Models fo r Picture Recognition",
"authors": [
{
"first": "A",
"middle": [],
"last": "Rosenfeld",
"suffix": ""
}
],
"year": 1979,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "A. Rosenfeld, Picture languages: Formal Models fo r Picture Recognition, Academic Press, New York, San Francisco and London, 1979.",
"links": null
},
"BIBREF28": {
"ref_id": "b28",
"title": "Web Automata and Web Grammars",
"authors": [
{
"first": "A",
"middle": [],
"last": "Rosenfeld",
"suffix": ""
},
{
"first": "D",
"middle": [
"L"
],
"last": "Milgram",
"suffix": ""
}
],
"year": 1972,
"venue": "Machine Intelligence",
"volume": "7",
"issue": "",
"pages": "307--324",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "A. Rosenfeld and D. L. Milgram, ''Web Automata and Web Grammars,\" Machine Intelligence, vol. 7, pp. 307- 324, 1972.",
"links": null
},
"BIBREF29": {
"ref_id": "b29",
"title": "Context Free Grammars on Trees",
"authors": [
{
"first": "W",
"middle": [
"C"
],
"last": "Rounds",
"suffix": ""
}
],
"year": 1969,
"venue": "Proc. of 10th Symp . Switching and Automata Theory",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "W.C. Rounds, \"Context Free Grammars on Trees,\" Proc. of 10th Symp . Switching and Automata Theory, p. 143, 1969.",
"links": null
},
"BIBREF30": {
"ref_id": "b30",
"title": "A Formal Picture Description Scheme as a , Basic for Picture Processing Systems",
"authors": [
{
"first": "A",
"middle": [
"C"
],
"last": "Shaw",
"suffix": ""
}
],
"year": 1969,
"venue": "Information and Control",
"volume": "14",
"issue": "",
"pages": "9--52",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "A.C. Shaw, \"A Formal Picture Description Scheme as a , Basic for Picture Processing Systems,\" Information and Control, vol. 14, pp. 9-52, 1969.",
"links": null
},
"BIBREF31": {
"ref_id": "b31",
"title": "Efficient and Error-correcting Parsing of (attributed and stochastic) Tree Grammars",
"authors": [
{
"first": "Q",
"middle": [
"Y"
],
"last": "Shi",
"suffix": ""
},
{
"first": "K",
"middle": [
"S"
],
"last": "Fu",
"suffix": ""
}
],
"year": 1982,
"venue": "Information Sciences",
"volume": "26",
"issue": "",
"pages": "159--188",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Q.Y. Shi and K.S. Fu, \"Efficient and Error-correcting Parsing of (attributed and stochastic) Tree Grammars,\" Information Sciences, vol. 26, pp. 159-188, 1982.",
"links": null
},
"BIBREF32": {
"ref_id": "b32",
"title": "Parsing and Translation of Attri buted Expansive Graph Languages for Scene Analysis",
"authors": [
{
"first": "Q",
"middle": [
"Y"
],
"last": "Shi",
"suffix": ""
},
{
"first": "K",
"middle": [
"S"
],
"last": "Fu",
"suffix": ""
}
],
"year": 1983,
"venue": "IEEE Transactions on Pattern Analysis and Machine Intelligence",
"volume": "",
"issue": "5",
"pages": "472--485",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Q. Y. Shi and K.S. Fu, ''Parsing and Translation of Attri buted Expansive Graph Languages for Scene Analysis,'' IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI-5, pp. 472-485, 1983.",
"links": null
},
"BIBREF33": {
"ref_id": "b33",
"title": "Visual Programming",
"authors": [
{
"first": "N",
"middle": [
"C"
],
"last": "Shu",
"suffix": ""
}
],
"year": 1988,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "N.C. Shu, Visual Programming, Van Nostrand Reinhold Company, 1988.",
"links": null
},
"BIBREF34": {
"ref_id": "b34",
"title": "Array Grammars and Kolam",
"authors": [
{
"first": "G",
"middle": [],
"last": "Siromoney",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Siromoney",
"suffix": ""
},
{
"first": "K",
"middle": [],
"last": "Krithivasan",
"suffix": ""
}
],
"year": 1974,
"venue": "Comput. Graphics and Image Processing",
"volume": "3",
"issue": "",
"pages": "63--82",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "G. Siromoney, R. Siromoney, and K. Krithivasan, \"Array Grammars and Kolam,\" Comput. Graphics and Image Processing, vol. 3, pp. 63-82, 1974.",
"links": null
},
"BIBREF35": {
"ref_id": "b35",
"title": "Effi cient Parsing fo r Natural Languages",
"authors": [
{
"first": "M",
"middle": [],
"last": "Tomita",
"suffix": ""
}
],
"year": 1985,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "M. Tomita, Effi cient Parsing fo r Natural Languages, Kluwer Academic Publishers, Boston, MA, 1985.",
"links": null
},
"BIBREF36": {
"ref_id": "b36",
"title": "Parsing 2-Dimensional Languages",
"authors": [
{
"first": "M",
"middle": [],
"last": "Tomita",
"suffix": ""
}
],
"year": 1989,
"venue": "Proceedings of the International Workshop on Parsing Technologies",
"volume": "",
"issue": "",
"pages": "28--31",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "M. Tomita, ''Parsing 2-Dimensional Languages,'' Proceedings of the International Workshop on Parsing Technologies, pp. 414-424, Pittsburgh, PA. Carnegie Mel lon, 28-31 August 1989.",
"links": null
},
"BIBREF37": {
"ref_id": "b37",
"title": "Recognition of Two-Dimensional Pat terns",
"authors": [
{
"first": "P",
"middle": [
"S P"
],
"last": "Wang",
"suffix": ""
}
],
"year": 1977,
"venue": "Proc. Assoc. Comput. Mach. Nat. Conf",
"volume": "",
"issue": "",
"pages": "484--489",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "P.S.P. Wang, ''Recognition of Two-Dimensional Pat terns,\" Proc. Assoc. Comput. Mach. Nat. Conf, pp. 484- 489, 1977.",
"links": null
}
},
"ref_entries": {
"FIGREF0": {
"type_str": "figure",
"num": null,
"text": "The parser we are .going to present recognizes pictorial languages generate.d by positional grammars. Definition 2.1 A context-free positional grammar PG can be represente.d by a six-tuple (N, T, S, P, POS, PE) where: . N is a finite non-empty set of non-terminal symbols, T is a finite non-empty set of terminal symbols, NnT=0, S e N is the staning symbol, P is a finite set of productions POS is a finite set of positional relation identifiers POS n (N u T) = 0, PE is an evaluation rule Each production in P has the following form: m \ufffd 1 where A e N, each a i is in Nu T and each REl j is in POS. I Each positional relation REl i gives infonnation about the relative position of a i + 1 with respect to a; . In the following, the words \"positional grammar\" will always refer to a context free positional grammar. While in a string grammar the only possible positional relation_ is the string concatenation, in a positional grammar other positional relations can be define.d and then use.d for describing high dimensional languages. When parsing, this positional information will be useful for letting the scanner know where the next symbol to parse is. Some simple examples of positional relations on a Carte sian plane: String concatenation or adjacent horizontal concatenation AHOR = ( (p 1 , pi) : p 1 and p 2 are pictures horizontally concatenate.d with alignment of their centroids } Adjacent vertical concatenation A VER = ( (p 1 , pi) : p 1 and p 2 are pictures vertically con-catenate.d with alignment of their centroids } Upper horizontal concatenation UHOR = { (p 1 , pi) : p 1 and p 2 are pictures horizontally con catenate.d with alignment of the centroid of p 1 and the up-most element of p 2 } Horizontal concatenation HOR = { (p 1 , p 2 ) : p 1 and p 2 are pictures and location(p 1 ) = (x , y ) and location' (pi) = (x' , y' ) and the position (x' , y' ) is fe asible and x' > x } Vertical concatenation VER = { (p 1 , p 2 ) : p 1 and p 2 are pictures and location(p 1 ) = (x , y ) and location' (p 2 ) = (x' , y' ) and the position (x' , y' ) is fe asible and y' < y and x' s x } where a picture is a spatial arrangement of one or more . symbols, location(p) is a function returning the position of a symbol of the picture p and a feasible location is a location that has not been made unfeasible by another symbol or by the side effect of an evaluation rule, as it will be seen in the following. An evaluation rule PE is a function whose input is a string P 1 R EL 1P2 RE L 2 \u2022 \u2022 \u2022 RE L ,,. -1 P m m \ufffd p 2. ... , P m are dispose.d in the space such that <Pi , p \u2022 i + l ) e REl i The evaluation of the positional relations is meant to be sequential from left to right. As side effects can be generated for any evaluation, an evaluation rule is simple if no side effects are involved. I A possible side effect of the evaluation of a relation is co make certain positions in the space unfeasible. As the evalua tion is sequential, each evaluation inherites the side effects generate.d by the previous evaluations. Some examples of applications of the simple evaluation rule",
"uris": null
},
"FIGREF1": {
"type_str": "figure",
"num": null,
"text": "A positional sentence is a positional sentential fonn with only terminal symbols. A pictorial f onn is the evaluation of a positional sentential fonn. A picture is a pictorial fonn with only terminal symbols. The pictorial language defined by a positional grammar L(G) is the set of its pictures. Some examples of positional grammars: The following grammar generates the strings of the fonn a\u2022\u2022\u2022 ab \u2022 \u2022 \u2022 b with equal number of a's and b's. The positional operator . is defined as above. A posi tional sentence of this grammar is: a . a . a . b . b . b and the corresponding picture is: aaabbb. This example shows that every context-free string language can be represented by a positional grammar. The following grammar generates an upper-right corner with variable length of the edges. N = { Comer, IIl.,ine, VLine } T = (dot} S =Comer POS= (UHOR , AHOR ,AVER } PE is the simple evaluation rule p = { Comer := fil.,ine UHOR VLine IIl.,ine := fil.,ine AHOR dot I dot VLine := VLine A VER dot I dot } where UHOR , AHOR and AVER are defined as above. A positional sentence of this grammar is: dot AHOR dot AHOR dot AHOR dot UHOR dot AVER dot AVER dot AVER dot Replacing dot with the character '. ', the corresponding picture is: The following grammar generates two-dimensional arithmetic expressions using the binary operations addi tion and division: 237 N = {E, T, F} S =E T = { +, hbar , (, ), id} POS= (HOR , VER } PE is the evaluation rule defined below p = { E := E HOR + HOR TI T T := T VER hbar VER F I F F := \u2022 c HOR E HOR ) I id } The evaluation rule is so defined (see Figure 2. 1): PE(p 1 HOR p i.): The evaluation of HOR will give coordinates (x, y) to location(p 1 ) and (x', y') to location(p 2 ) such that (p 1 , p 2 ) e HOR . Moreover it will make unfeasible each position belonging to any of the following sets: { (x, y 1 ): y S y 1 Sm} {(x 1 , yi) : x < x 1 < x' and OS y 2 Sm} {(x', y3): y' Sy 3 Sm} where m \ufffd1 is an upper bound on the y-coordinate in the two-dimensional space. PE(p 1 VER p 2 ): The evaluation of VER will give coordinates (x, y) to location(p 1 ) and (x', y') to location(p 2 ) such that (p 1 , p 2 ) e VER . Moreover it will make unfeasible each position belonging to any of the following sets: {(x 1 ,y):0Sx 1 Sx} { (x 2 , y 1 ) : 0 S x 2 S x and y' < y 1 < y} {(x 3 , y') : 0 S x 3 S x' } {p 1 HOR P 2l and {p 1 VER P2l A positional sentence of this grammar is: id HOR + HOR ( HOR id HOR + HOR id HOR ) VER hbar VER id HOR + HOR id Replacing hbar with an horizontal bar, according to the definitions of HOR , VER and PE, there are many possible pic tures corresponding to the evaluation of this positional sen tence, but all of them can be mapped into the following one: . d (id + id ) . d l +...;.... -\ufffd+l id that is still a picture of this language. POSITIONAL LR PARSERS Positional LR parsers (pLR parsers) are nothing else but a generalization of the .LR parsers. The model of a pLR parser is given byThe model of a pLR Parser The input Ouput The input to a pLR parser is a spatial arrangement of tokens, or, in other words, a symbolic picture where each symbol is a token. Such an input is represented by an array w (the input tape) where eachtoken is stored, a list Q of couples (pos , i)",
"uris": null
},
"FIGREF2": {
"type_str": "figure",
"num": null,
"text": "a pLR parser, the end-of-input marking is implemented by storing the symbol '$' in location O of the input tape, and defining the end-of-iripur operator ANY as a function whose return value is O if all the symbols in the input tape have been parsed and 'error' otherwise. The positional operators For each positional relation we define a positional operator with the same name. Such an operator is a function that takes in input the index in the tape of the last token parsed, calcu lates a new position and then returns the index of the next token to parse, by consulting the list Q. Definition 3.1 Given a positional grammar PG= (N, T, S, P, POS, PE) and a relation REL e POS, then for all a,\ufffd e \u2022 Nu T such that \"a REL \ufffd\" occurs on the \u2022right hand-side of a production rule in PG, the corresponding positional operator REL is defined as follows: REL(i) = j iff i is the index in w of 'a\u2022, the last token parsed to reduce a, and j is the index in w of 'b', the first token to parse to reduce \ufffd-I Examples: In the grammar of Example 2.2, the corres po nding operators for POS can be defined as follows: UHOR(i) = AHOR(i) = j iff location(w[i]) = (x, y) and location(wUD = (x+o, y). A VER(i) = j iff location(w[i]) = (x, y) and location(w[j]) = ( x, y-0).",
"uris": null
},
"FIGREF3": {
"type_str": "figure",
"num": null,
"text": "HOR and VER can be defined as follow: HOR(i) =j iff location(wU]) is the highest spatial posi tion in the first non-empty column on the right of location(w[i]). VER(i) = j iff location(wUD is the spatial po sition on the left of location(w[i]) such that it is the leftmost position in the first non empty row below location(w[i]). The Positional LR Parsing Table Besides the \"action\" and \"goto\" \u2022 columns of . an LR parsing table, . the pLR parsing table contains an additional column called \" po sition\". The positional operators SP, ANY and the names of the positional operators are the elements of this new column. SP returns the staning index given in input with the picture and ANY is the operator defined above. All the names",
"uris": null
},
"FIGREF4": {
"type_str": "figure",
"num": null,
"text": "Let us consider the following positional grammar generat ing an horizontal concatenation of a block of squares, an arrow and another block of squares , (1) S := BI HOR '=> HOR B2 (2) BI := CHOR -C (3) C :=. square VER square (4) B2 := R VER R (5) R := square HOR square Here the definition of PE is as in Example 2.3. The canonical collection of sets of pLR(0) items for this grammar follows next, along with the position values. The goto function for this set of items is shown as the transition diagram of a determinis tic finite automaton in Figure 3.2 and the . resulting Positional LR parsing table is given in Figure 3.3. I O : S' := .SP S position[0] = { SP} S := .Bl HOR => HOR B2 BI := .C HOR C C := .square VER square / 1 : S' := SP S. /2 : S :=BI .HOR => HOR B2 / 3 : B 1 := C .HOR C C := .square VER square I 4 : C := square . VER square position[ l] = {ANY} position[2] = (HOR} position[3] = {HOR} position[4] = (VER} I 5 : S := B 1 HOR => .HOR B2 B2 := .R VER R \ufffd := .square HOR square I 6 : B 1 := C HOR C . 1 7 : C := square VER square . / s : S := B 1 HOR => HOR B2 . B2 := R . VER R R := .square HOR square / 1o : R := square _HOR square / 11 : R := square HOR square . f 1 2 : B2 := R VER R . position[5] = (HOR } position[6] = (HOR} position[?] = {HOR} position[8] = {ANY} position[9] = {VER } po sition[lO] = (HOR } po sition[ 11] = (VER.ANY } position[12] = {ANY } Note that in the construction of each closure, the posi tional operators HOR and VER are ignored by the dot. This information is instead caught by the po sition array. A Simple pLR parsing table Details on the algorithm for the construction of a Positional LR parsing table can be found in (9, 10]. The Positional LR Parsing Algorithm The pLR algorithm is a simple extension of Algorithm 4.7 in [ 1 ]; the only differences regard the form of the input and the setting of the pointer to the next symbol.The input is now given by a picture p represented by an",
"uris": null
},
"FIGREF5": {
"type_str": "figure",
"num": null,
"text": "Figure 3.4 shows the parsing action, goto and position of a canonical pLR parsing table for the following linear positional grammar for the vertical concatenation of two strings both of the type \"c \u2022 \u2022 \u2022 cd\". rule is simple when applyed to AHOR and defined as in Example 2.3 when applied to VER . Using the parsing table in Figure 3.4 and applying the pLR parsing algorithm, it can be verified that the Given the grammar in Example 0 using the parsing table in",
"uris": null
},
"FIGREF6": {
"type_str": "figure",
"num": null,
"text": "(0) E' := SP E (l) E := E HOR +HOR T F' := {HOR E HOR l (10) F':= kl.",
"uris": null
},
"FIGREF7": {
"type_str": "figure",
"num": null,
"text": "1 shows the resulting pLR( 1) parsing table for this grammar. Note that the terminals id , (, and ) have been duplicated as well as the non-terminals T and F. Moreover, rules (3), (4), (5) and (6) have been duplicated in rules (7), (8), (9) and (10).",
"uris": null
},
"FIGREF8": {
"type_str": "figure",
"num": null,
"text": "a general data structure to represent the two dimensional symbolic pictures. II. Define the positional relations and operators meant to relate objects in the patterns, and construct the pLR posi tional grammar, if possible, to describe the language. III. Convert the general data structure into the input to the parser as defined in Section 3.",
"uris": null
},
"FIGREF9": {
"type_str": "figure",
"num": null,
"text": "F':= kJ. (VER()} An implementation by Yacc for this grammar, using rhe Gen_string representation, has been developed at the Depart ment of Computer Science of the University of Pittsburgh.The implementation consists of the following:The function get _gs( ): the Gen_string representing a two-dimensional arithmetic expression is stored in a global data structure \"gs\". The Gen_string can be taken from a data base or derived from the original pattern.The function gs _ir( ): the Gen_string is converted into an internal representation (data structure \"spg\", and others).The functions read_hor() and read_ver(): the spatial operators HOR and VER are implemented, respectively. The yacc specifications for the grammar. the functions read_hor() and read_ ver() are insened in the rules as actions. Both of them update a global variable \"current\" used by the function yylex() to select the next token to be par\ufffded.In the following, the results of the execu\u2022 tion of such specifications are given. Note that the array \"spg\" represents the set of tokens occurring in the expression . while the values of \"cumnt\" give the order in which the tokens are parsed.For each token spg[i], the (x, y)coordinates are also given (the list Q). In this implementation x represents the column index in left-right progression, and y the row index in top-down pro gres",
"uris": null
},
"FIGREF10": {
"type_str": "figure",
"num": null,
"text": "miversal parsers like Earl\ufffdy\u2022s ([13]) and Tomita's ([36]) algo rithms by applying the same technique used for extending the LR parser. Moreover we are considering applications of the model proposed to graphics and to \u2022 visual languages",
"uris": null
}
}
}
}