| { |
| "paper_id": "P93-1035", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T08:52:07.943814Z" |
| }, |
| "title": "Automatic Grammar Induction and Parsing Free Text: A Transformation-Based Approach", |
| "authors": [ |
| { |
| "first": "Eric", |
| "middle": [], |
| "last": "Brill", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "University of Pennsylvania", |
| "location": {} |
| }, |
| "email": "brill@unagi.cis.upenn.edu" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "In this paper we describe a new technique for parsing free text: a transformational grammar I is automatically learned that is capable of accurately parsing text into binary-branching syntactic trees with nonterminals unlabelled. The algorithm works by beginning in a very naive state of knowledge about phrase structure. By repeatedly comparing the results of bracketing in the current state to proper bracketing provided in the training corpus, the system learns a set of simple structural transformations that can be applied to reduce error. After describing the algorithm, we present results and compare these results to other recent results in automatic grammar induction.", |
| "pdf_parse": { |
| "paper_id": "P93-1035", |
| "_pdf_hash": "", |
| "abstract": [ |
| { |
| "text": "In this paper we describe a new technique for parsing free text: a transformational grammar I is automatically learned that is capable of accurately parsing text into binary-branching syntactic trees with nonterminals unlabelled. The algorithm works by beginning in a very naive state of knowledge about phrase structure. By repeatedly comparing the results of bracketing in the current state to proper bracketing provided in the training corpus, the system learns a set of simple structural transformations that can be applied to reduce error. After describing the algorithm, we present results and compare these results to other recent results in automatic grammar induction.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Abstract", |
| "sec_num": null |
| } |
| ], |
| "body_text": [ |
| { |
| "text": "There has been a great deal of interest of late in the automatic induction of natural language grammar. Given the difficulty inherent in manually building a robust parser, along with the availability of large amounts of training material, automatic grammar induction seems like a path worth pursuing. A number of systems have been built that can be trained automatically to bracket text into syntactic constituents. In (MM90) mutual information statistics are extracted from a corpus of text and this information is then used to parse new text. (Sam86) defines a function to score the quality of parse trees, and then uses simulated annealing to heuristically explore the entire space of possible parses for a given sentence. In (BM92a), distributional analysis techniques are applied to a large corpus to learn a context-free grammar.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "INTRODUCTION", |
| "sec_num": null |
| }, |
| { |
| "text": "The most promising results to date have been *The author would like to thank Mark Liberman, Melting Lu, David Magerman, Mitch Marcus, Rich Pito, Giorgio Satta, Yves Schabes and Tom Veatch. This work was supported by DARPA and AFOSR jointly under grant No. AFOSR-90-0066, and by ARO grant No. DAAL 03-89-C0031 PRI.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "INTRODUCTION", |
| "sec_num": null |
| }, |
| { |
| "text": "1 Not in the traditional sense of the term.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "INTRODUCTION", |
| "sec_num": null |
| }, |
| { |
| "text": "based on the inside-outside algorithm, which can be used to train stochastic context-free grammars.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "INTRODUCTION", |
| "sec_num": null |
| }, |
| { |
| "text": "The inside-outside algorithm is an extension of the finite-state based Hidden Markov Model (by (Bak79)), which has been applied successfully in many areas, including speech recognition and part of speech tagging. A number of recent papers have explored the potential of using the insideoutside algorithm to automatically learn a grammar (LY90, SJM90, PS92, BW92, CC92, SRO93).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "INTRODUCTION", |
| "sec_num": null |
| }, |
| { |
| "text": "Below, we describe a new technique for grammar induction. The algorithm works by beginning in a very naive state of knowledge about phrase structure. By repeatedly comparing the results of parsing in the current state to the proper phrase structure for each sentence in the training corpus, the system learns a set of ordered transformations which can be applied to reduce parsing error. We believe this technique has advantages over other methods of phrase structure induction. Some of the advantages include: the system is very simple, it requires only a very small set of transformations, a high degree of accuracy is achieved, and only a very small training corpus is necessary. The trained transformational parser is completely symbolic and can bracket text in linear time with respect to sentence length. In addition, since some tokens in a sentence are not even considered in parsing, the method could prove to be considerably more robust than a CFG-based approach when faced with noise or unfamiliar input. After describing the algorithm, we present results and compare these results to other recent results in automatic phrase structure induction.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "INTRODUCTION", |
| "sec_num": null |
| }, |
| { |
| "text": "The phrase structure learning algorithm is a transformation-based error-driven learner. This learning paradigm, illustrated in figure 1, has proven to be successful in a number of different natural language applications, including part of speech tagging (Bri92, BM92b), prepositional phrase attachment (BR93), and word classification (Bri93). In its initial state, the learner is capable of annotating text but is not very good at doing so. The initial state is usually very easy to create. In part of speech tagging, the initial state annotator assigns every word its most likely tag. In prepositional phrase attachment, the initial state annotator always attaches prepositional phrases low. In word classification, all words are initially classified as nouns. The naively annotated text is compared to the true annotation as indicated by a small manually annotated corpus, and transformations are learned that can be applied to the output of the initial state annotator to make it better resemble the truth.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "TRANSFORMATION-BASED ERROR-DRIVEN LEARNING", |
| "sec_num": null |
| }, |
| { |
| "text": "The phrase structure learning algorithm is trained on a small corpus of partially bracketed text which is also annotated with part of speech information. All of the experiments presented below were done using the Penn Treebank annotated corpus(MSM93). The learner begins in a naive initial state, knowing very little about the phrase structure of the target corpus. In particular, all that is initially known is that English tends to be right branching and that final punctuation is final punctuation. Transformations are then learned automatically which transform the out-put of the naive parser into output which better resembles the phrase structure found in the training corpus. Once a set of transformations has been learned, the system is capable of taking sentences tagged with parts of speech and returning a binary-branching structure with nonterminals unlabelled. 2", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LEARNING PHRASE STRUCTURE", |
| "sec_num": null |
| }, |
| { |
| "text": "The Initial State Of The Parser Initially, the parser operates by assigning a rightlinear structure to all sentences. The only exception is that final punctuation is attached high. So, the sentence \"The dog and old cat ate .\" would be incorrectly bracketed as:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LEARNING PHRASE STRUCTURE", |
| "sec_num": null |
| }, |
| { |
| "text": "((The(dog(and(old (cat ate))))). )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LEARNING PHRASE STRUCTURE", |
| "sec_num": null |
| }, |
| { |
| "text": "The parser in its initial state will obviously not bracket sentences with great accuracy. In some experiments below, we begin with an even more naive initial state of knowledge: sentences are parsed by assigning them a random binarybranching structure with final punctuation always attached high.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LEARNING PHRASE STRUCTURE", |
| "sec_num": null |
| }, |
| { |
| "text": "The next stage involves learning a set of transformations that can be applied to the output of the naive parser to make these sentences better conform to the proper structure specified in the training corpus. The list of possible transformation types is prespecified. Transformations involve making a simple change triggered by a simple environment. In the current implementation, there are twelve allowable transformation types:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "\u2022 (1-8) (AddHelete) a (leftlright) parenthesis to the (leftlright) of part of speech tag X. \u2022 (9-12) (Add]delete) a (left]right) parenthesis", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "between tags X and Y.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "To carry out a transformation by adding or deleting a parenthesis, a number of additional simple changes must take place to preserve balanced parentheses and binary branching. To give an example, to delete a left paren in a particular environment, the following operations take place (assuming, of course, that there is a left paren to delete):", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "1. Delete the left paren. 2. Delete the right paren that matches the just deleted paren.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "3. Add a left paren to the left of the constituent immediately to the left of the deleted left paren.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "2This is the same output given by systems described in (MM90, Bri92, PS92, SRO93). 4. Add a right paren to the right of the constituent immediately to the right of the deleted left paren.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "5. If there is no constituent immediately to the right, or none immediately to the left, then the transformation fails to apply.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "Structurally, the transformation can be seen as follows. If we wish to delete a left paten to the right of constituent X 3, where X appears in a subtree of the form:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "X A YY Z", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "carrying out these operations will transform this subtree into: 4 Z A X YY Given the sentence: 5", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "The dog barked . this would initially be bracketed by the naive parser as:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "((The(dogbarked)).)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "If the transformation delete a left parch to the right of a determiner is applied, the structure would be transformed to the correct bracketing:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "(((Thedog) barked), )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "To add a right parenthesis to the right of YY, YY must once again be in a subtree of the form: X 3To the right of the rightmost terminal dominated by X if X is a nonterminal.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "4The twelve transformations can be decomposed into two structural transformations, that shown here and its converse, along with six triggering environments.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "5Input sentences are also labelled with parts of speech.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "If it is, the following steps are carried out to add the right paren:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "1. Add the right paren.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "2. Delete the left paten that now matches the newly added paren.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "3. Find the right paren that used to match the just deleted paren and delete it.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "4. Add a left paren to match the added right paren.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "This results in the same structural change as deleting a left paren to the right of X in this particular structure.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "Applying the transformation add a right paten to the right of a noun to the bracketing:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "((The(dogbarked)).) will once again result in the correct bracketing:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "(((Thedog)barked).)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Structural Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "Learning proceeds as follows. Sentences in the training set are first parsed using the naive parser which assigns right linear structure to all sentences, attaching final punctuation high. Next, for each possible instantiation of the twelve transformation templates, that particular transformation is applied to the naively parsed sentences. The resuiting structures are then scored using some measure of success that compares these parses to the correct structural descriptions for the sentences provided in the training corpus. The transformation resulting in the best scoring structures then becomes the first transformation of the ordered set of transformations that are to be learned. That transformation is applied to the right-linear structures, and then learning proceeds on the corpus of improved sentence bracketings. The following procedure is carried out repeatedly on the training corpus until no more transformations can be found whose application reduces the error in parsing the training corpus:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "1. The best transformation is found for the structures output by the parser in its current state. 6", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "2. The transformation is applied to the output resulting from bracketing the corpus using the parser in its current state.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "4. Go to 1.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "After a set of transformations has been learned, it can be used to effectively parse fresh text. To parse fresh text, the text is first naively parsed and then every transformation is applied, in order, to the naively parsed text.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "One nice feature of this method is that different measures of bracketing success can be used: learning can proceed in such a way as to try to optimize any specified measure of success. The measure we have chosen for our experiments is the same measure described in (PS92), which is one of the measures that arose out of a parser evaluation workshop (ea91). The measure is the percentage of constituents (strings of words between matching parentheses) from sentences output by our system which do not cross any constituents in the Penn Treebank structural description of the sentence. For example, if our system outputs:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "(((Thebig) (dogate)).) and the Penn Treebank bracketing for this sentence was:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "(((Thebigdog) ate). )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "then the constituent the big would be judged correct whereas the constituent dog ate would not.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "Below are the first seven transformations found from one run of training on the Wall Street Journal corpus, which was initially bracketed using the right-linear initial-state parser.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "1. Delete a left paren to the left of a singular noun.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "2. Delete a left paren to the left of a plural noun.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "3. Delete a left paren between two proper nouns. 4. Delet a left paten to the right of a determiner. 5. Add a right paten to the left of a comma.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "6. Add a right paren to the left of a period.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Transformations", |
| "sec_num": null |
| }, |
| { |
| "text": "The first four transformations all extract noun phrases from the right linear initial structure. The sentence \"The cat meowed .\" would initially be bracketed as: 7 ((The (cat meowed)) . )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Delete a right paren to the left of a plural noun.", |
| "sec_num": "7." |
| }, |
| { |
| "text": "Applying the first transformation to this bracketing would result in: 7These examples are not actual sentences in the corpus. We have chosen simple sentences for clarity.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Delete a right paren to the left of a plural noun.", |
| "sec_num": "7." |
| }, |
| { |
| "text": "(((Thecat)meowed).)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Delete a right paren to the left of a plural noun.", |
| "sec_num": "7." |
| }, |
| { |
| "text": "Applying the fifth transformation to the bracketing:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Delete a right paren to the left of a plural noun.", |
| "sec_num": "7." |
| }, |
| { |
| "text": "( ( We ( ran ( would result in ( ( ( We ran ) (and(theywalked))))).)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Delete a right paren to the left of a plural noun.", |
| "sec_num": "7." |
| }, |
| { |
| "text": ", (and(they walked)))). )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Delete a right paren to the left of a plural noun.", |
| "sec_num": "7." |
| }, |
| { |
| "text": "In the first experiment we ran, training and testing were done on the Texas Instruments Air Travel Information System (ATIS) corpus(HGD90). 8 In table 1, we compare results we obtained to results cited in (PS92) using the inside-outside algorithm on the same corpus. Accuracy is measured in terms of the percentage of noncrossing constituents in the test corpus, as described above.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "RESULTS", |
| "sec_num": null |
| }, |
| { |
| "text": "Our system was tested by using the training set to learn a set of transformations, and then applying these transformations to the test set and scoring the resulting output. In this experiment, 64 transformations were learned (compared with 4096 context-free rules and probabilities used in the inside-outside algorithm experiment). It is significant that we obtained comparable performance using a training corpus only 21% as large as that used to train the inside-outside algorithm. After applying all learned transformations to the test corpus, 60% of the sentences had no crossing constituents, 74% had fewer than two crossing constituents, and 85% had fewer than three. The mean sentence length of the test corpus was 11.3. In figure 2, we have graphed percentage correct as a function of the number of transformations that have been applied to the test corpus. As the transformation number increases, overtraining sometimes occurs. In the current implementation of the learner, a transformation is added to the list if it results in any positive net change in the Sin all experiments described in this paper, results are calculated on a test corpus which was not used in any way in either training the learning algorithm or in developing the system. training set. Toward the end of the learning procedure, transformations are found that only affect a very small percentage of training sentences. Since small counts are less reliable than large counts, we cannot reliably assume that these transformations will also improve performance in the test corpus. One way around this overtraining would be to set a threshold: specify a minimum level of improvement that must result for a transformation to be learned. Another possibility is to use additional training material to prune the set of learned transformations. We next ran an experiment to determine what performance could be achieved if we dropped the initial right-linear assumption. Using the same training and test sets as above, sentences were initially assigned a random binary-branching structure, with final punctuation always attached high. Since there was less regular structure in this case than in the right-linear case, many more transformations were found, 147 transformations in total. When these transformations were applied to the test set, a bracketing accuracy of 87.13% resulted.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "RESULTS", |
| "sec_num": null |
| }, |
| { |
| "text": "The ATIS corpus is structurally fairly regular. To determine how well our algorithm performs on a more complex corpus, we ran experiments on the Wall Street Journal. Results from this experiment can be found in table 2. 9 Accuracy is again 9For sentences of length 2-15, the initial right-linear parser achieves 69% accuracy. For sentences of length measured as the percentage of constituents in the test set which do not cross any Penn Treebank constituents.l\u00b0 As a point of comparison, in (SRO93) an experiment was done using the inside-outside algorithm on a corpus of WSJ sentences of length 1-15. Training was carried out on a corpus of 1,095 sentences, and an accuracy of 90.2% was obtained in bracketing a test set. Table 2 : WSJ Sentences", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 723, |
| "end": 730, |
| "text": "Table 2", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "RESULTS", |
| "sec_num": null |
| }, |
| { |
| "text": "In the corpus we used for the experiments of sentence length 2-15, the mean sentence length was 10.80. In the corpus used for the experiment of sentence length 2-25, the mean length was 16.82. As would be expected, performance degrades somewhat as sentence length increases. In In table 4, we show the standard deviation measured from three different randomly chosen training sets of each sample size and randomly chosen test sets of 500 sentences each, as well as 2-20, 63% accuracy is achieved and for sentences of length 2-25, accuracy is 59%.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "RESULTS", |
| "sec_num": null |
| }, |
| { |
| "text": "a\u00b0In all of our experiments carried out on the Wall Street Journal, the test set was a randomly selected set of 500 sentences. nFor sentences of length 2-15, the initial right linear parser parses 17% of sentences with no crossing errors, 35% with one or fewer errors and 50% with two or fewer. For sentences of length 2-25, 7% of sentences are parsed with no crossing errors, 16% with one or fewer, and 24% with two or fewer. the accuracy as a function of training corpus size for sentences of length 2 to 20. We also ran an experiment on WSJ sentences of length 2-15 starting with random binarybranching structures with final punctuation attached high. In this experiment, 325 transformations were found using a 250-sentence training corpus, and the accuracy resulting from applying these transformations to a test set was 84.72%. While the numbers presented above allow us to compare the transformation learner with systems trained and tested on comparable corpora, these results are all based upon the assumption that the test data is tagged fairly reliably (manually tagged text was used in all of these experiments, as well in the experiments of (PS92, SRO93).) When parsing free text, we cannot assume that the text will be tagged with the accuracy of a human annotator. Instead, an automatic tagger would have to be used to first tag the text before parsing. To address this issue, we ran one experiment where we randomly induced a 5% tagging error rate beyond the error rate of the human annotator. Errors were induced in such a way as to preserve the unigram part of speech tag probability distribution in the corpus. The experiment was run for sentences of length 2-15, with a training set of 1000 sentences and a test set of 500 sentences. The resulting bracketing accuracy was 90.1%, compared to 91.6% accuracy when using an unadulterated training corpus. Accuracy only degraded by a small amount when training on the corpus with adulterated part of speech tags, suggesting that high parsing accuracy rates could be achieved if tagging of the input were done automatically by a part of speech tagger.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "RESULTS", |
| "sec_num": null |
| }, |
| { |
| "text": "In this paper, we have described a new approach for learning a grammar to automatically parse text. The method can be used to obtain high parsing accuracy with a very small training set. Instead of learning a traditional grammar, an ordered set of structural transformations is learned that can be applied to the output of a very naive parser to obtain binary-branching trees with unlabelled nonterminals. Experiments have shown that these parses conform with high accuracy to the structural descriptions specified in a manually annotated corpus. Unlike other recent attempts at automatic grammar induction that rely heavily on statistics both in training and in the resulting grammar, our learner is only very weakly statistical. For training, only integers are needed and the only mathematical operations carried out are integer addition and integer comparison. The resulting grammar is completely symbolic. Unlike learners based on the inside-outside algorithm which attempt to find a grammar to maximize the probability of the training corpus in hope that this grammar will match the grammar that provides the most accurate structural descriptions, the transformation-based learner can readily use any desired success measure in learning.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "CONCLUSIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "We have already begun the next step in this project: automatically labelling the nonterminal nodes. The parser will first use the ~ransforma-~ioual grammar to output a parse tree without nonterminal labels, and then a separate algorithm will be applied to that tree to label the nonterminals. The nonterminal-node labelling algorithm makes use of ideas suggested in (Bri92), where nonterminals are labelled as a function of the la-bels of their daughters. In addition, we plan to experiment with other types of transformations. Currently, each transformation in the learned list is only applied once in each appropriate environment. For a transformation to be applied more than once in one environment, it must appear in the transformation list more than once. One possible extension to the set of transformation types would be to allow for transformations of the form: add/delete a paren as many times as is possible in a particular environment. We also plan to experiment with other scoring functions and control strategies for finding transformations and to use this system as a postprocessor to other grammar induction systems, learning transformations to improve their performance. We hope these future paths will lead to a trainable and very accurate parser for free text. ", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "CONCLUSIONS", |
| "sec_num": null |
| }, |
| { |
| "text": ". This transformation is added to the end of the ordered list of transformations.SThe state of the parser is defined as naive initialstate knowledge plus all transformations that currently have been learned.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| } |
| ], |
| "back_matter": [], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "Trainable grammars for speech recognition", |
| "authors": [ |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Baker", |
| "suffix": "" |
| } |
| ], |
| "year": 1979, |
| "venue": "Speech communication papers presented at the 97th Meeting of the", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "J. Baker. Trainable grammars for speech recognition. In Speech commu- nication papers presented at the 97th Meeting of the Acoustical Society of America, 1979.", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "Automatically acquiring phrase structure using distributional analysis", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Brill", |
| "suffix": "" |
| }, |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Marcus", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Darpa Workshop on Speech and Natural Language", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "E. Brill and M. Marcus. Automatically acquiring phrase structure using distri- butional analysis. In Darpa Workshop on Speech and Natural Language, Har- riman, N.Y., 1992.", |
| "links": null |
| }, |
| "BIBREF2": { |
| "ref_id": "b2", |
| "title": "Tagging an unfamiliar text with minimal human supervision", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Brill", |
| "suffix": "" |
| }, |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Marcus", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Proceedings of the Fall Symposium on Probabilistic Approaches to Natural Language -AAAI Technical -Report. American Association for Artificial Intelligence", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "E. Brill and M. Marcus. Tagging an un- familiar text with minimal human su- pervision. In Proceedings of the Fall Symposium on Probabilistic Approaches to Natural Language -AAAI Technical -Report. American Association for Arti- ficial Intelligence, 1992.", |
| "links": null |
| }, |
| "BIBREF3": { |
| "ref_id": "b3", |
| "title": "A transformation based approach to prepositional phrase attachment", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Brill", |
| "suffix": "" |
| }, |
| { |
| "first": "P", |
| "middle": [], |
| "last": "Resnik", |
| "suffix": "" |
| }, |
| { |
| "first": ";", |
| "middle": [ |
| "E" |
| ], |
| "last": "Brill", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Proceedings of the Third Conference on Applied Natural Language Processing", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "E. Brill and P. Resnik. A transformation based approach to prepositional phrase attachment. Technical report, Depart- ment of Computer and Information Sci- ence, University of Pennsylvania, 1993. E. Brill. A simple rule-based part of speech tagger. In Proceedings of the Third Conference on Applied Natu- ral Language Processing, A CL, Trento, Italy, 1992.", |
| "links": null |
| }, |
| "BIBREF4": { |
| "ref_id": "b4", |
| "title": "A Corpus-Based Approach to Language Learning", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Brill", |
| "suffix": "" |
| } |
| ], |
| "year": 1993, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "E. Brill. A Corpus-Based Approach to Language Learning. PhD thesis, De- partment of Computer and Informa- tion Science, University of Pennsylva- nia, 1993. Forthcoming.", |
| "links": null |
| }, |
| "BIBREF5": { |
| "ref_id": "b5", |
| "title": "Robust stochastic parsing using the insideoutside algorithm", |
| "authors": [ |
| { |
| "first": "T", |
| "middle": [], |
| "last": "Briscoe", |
| "suffix": "" |
| }, |
| { |
| "first": "N", |
| "middle": [], |
| "last": "Waegner", |
| "suffix": "" |
| } |
| ], |
| "year": null, |
| "venue": "Workshop notes", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "T. Briscoe and N. Waegner. Ro- bust stochastic parsing using the inside- outside algorithm. In Workshop notes [CC92]", |
| "links": null |
| }, |
| "BIBREF6": { |
| "ref_id": "b6", |
| "title": "Learning probabilistic dependency grammars from labelled text -aaai technical report", |
| "authors": [ |
| { |
| "first": "G", |
| "middle": [], |
| "last": "Carroll", |
| "suffix": "" |
| }, |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Charniak", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Proceedings of the Fall Symposium on Probabilisiic Approaches to Natural Language. American Association for Artificial Intelligence", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "from the AAAI Statistically-Based NLP Techniques Workshop, 1992. G. Carroll and E. Charniak. Learn- ing probabilistic dependency grammars from labelled text -aaai technical re- port. In Proceedings of the Fall Sym- posium on Probabilisiic Approaches to Natural Language. American Associa- tion for Artificial Intelligence, 1992.", |
| "links": null |
| }, |
| "BIBREF7": { |
| "ref_id": "b7", |
| "title": "A procedure for quantitatively comparing the syntactic coverage of English grammars", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [], |
| "last": "Black", |
| "suffix": "" |
| } |
| ], |
| "year": 1991, |
| "venue": "Proceedings of Fourth DARPA Speech and Natural Language Workshop", |
| "volume": "", |
| "issue": "", |
| "pages": "306--311", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "E. Black et al. A procedure for quan- titatively comparing the syntactic cov- erage of English grammars. In Proceed- ings of Fourth DARPA Speech and Nat- ural Language Workshop, pages 306- 311, 1991.", |
| "links": null |
| }, |
| "BIBREF8": { |
| "ref_id": "b8", |
| "title": "Doddington. The ATIS spoken language systems pilot corpus", |
| "authors": [ |
| { |
| "first": "C", |
| "middle": [], |
| "last": "Hemphill", |
| "suffix": "" |
| }, |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Godfrey", |
| "suffix": "" |
| }, |
| { |
| "first": "G", |
| "middle": [], |
| "last": "", |
| "suffix": "" |
| } |
| ], |
| "year": 1990, |
| "venue": "Proceedings of the DARPA Speech and Natural Language Workshop", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "C. Hemphill, J. Godfrey, and G. Dod- dington. The ATIS spoken language systems pilot corpus. In Proceedings of the DARPA Speech and Natural Lan- guage Workshop, 1990.", |
| "links": null |
| }, |
| "BIBREF9": { |
| "ref_id": "b9", |
| "title": "The estimation of stochastic context-free grammars using the inside-outside algorithm", |
| "authors": [ |
| { |
| "first": "K", |
| "middle": [], |
| "last": "Lari", |
| "suffix": "" |
| }, |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Young ; Magerman", |
| "suffix": "" |
| }, |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Marcus", |
| "suffix": "" |
| } |
| ], |
| "year": 1990, |
| "venue": "Proceedings, Eighth National Conference on Artificial Intelligence (AAAI 90), 1990. M. Marcus, B. Santorini, and M. Marcinkiewiez. Building a large annotated corpus of English: the Penn Treebank", |
| "volume": "4", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "K. Lari and S. Young. The estimation of stochastic context-free grammars using the inside-outside algorithm. Computer Speech and Language, 4, 1990. D. Magerman and M. Marcus. Parsing a natural language using mutual infor- mation statistics. In Proceedings, Eighth National Conference on Artificial Intel- ligence (AAAI 90), 1990. M. Marcus, B. Santorini, and M. Marcinkiewiez. Building a large annotated corpus of English: the Penn Treebank. To appear in Computational Linguistics, 1993.", |
| "links": null |
| }, |
| "BIBREF10": { |
| "ref_id": "b10", |
| "title": "Insideoutside reestimation from partially bracketed corpora", |
| "authors": [ |
| { |
| "first": "F", |
| "middle": [], |
| "last": "Pereira", |
| "suffix": "" |
| }, |
| { |
| "first": "Y", |
| "middle": [], |
| "last": "Schabes", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Proceedings of the 30th Annual Meeting of the Association for Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "F. Pereira and Y. Schabes. Inside- outside reestimation from partially bracketed corpora. In Proceedings of the 30th Annual Meeting of the Association for Computational Linguistics, Newark, De., 1992.", |
| "links": null |
| }, |
| "BIBREF11": { |
| "ref_id": "b11", |
| "title": "A stochastic approach to parsing", |
| "authors": [ |
| { |
| "first": "G", |
| "middle": [], |
| "last": "Sampson", |
| "suffix": "" |
| } |
| ], |
| "year": 1986, |
| "venue": "Proceedings of COLING 1986", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "G. Sampson. A stochastic approach to parsing. In Proceedings of COLING 1986, Bonn, 1986.", |
| "links": null |
| }, |
| "BIBREF12": { |
| "ref_id": "b12", |
| "title": "Generating a grammar for statistical training", |
| "authors": [ |
| { |
| "first": "R", |
| "middle": [], |
| "last": "Sharman", |
| "suffix": "" |
| }, |
| { |
| "first": "F", |
| "middle": [], |
| "last": "Jelinek", |
| "suffix": "" |
| }, |
| { |
| "first": "R", |
| "middle": [], |
| "last": "Mercer", |
| "suffix": "" |
| } |
| ], |
| "year": 1990, |
| "venue": "Proceedings of the 1990 Darpa Speech and Natural Language Workshop", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "R. Sharman, F. Jelinek, and R. Mer- cer. Generating a grammar for sta- tistical training. In Proceedings of the 1990 Darpa Speech and Natural Lan- guage Workshop, 1990.", |
| "links": null |
| }, |
| "BIBREF13": { |
| "ref_id": "b13", |
| "title": "Parsing the Wall Street Journal with the inside-outside algorithm", |
| "authors": [ |
| { |
| "first": "Y", |
| "middle": [], |
| "last": "Schabes", |
| "suffix": "" |
| }, |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Roth", |
| "suffix": "" |
| }, |
| { |
| "first": "R", |
| "middle": [], |
| "last": "Osborne", |
| "suffix": "" |
| } |
| ], |
| "year": 1993, |
| "venue": "Proceedings of the 1993 European ACL", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Y. Schabes, M. Roth, and R. Osborne. Parsing the Wall Street Journal with the inside-outside algorithm. In Pro- ceedings of the 1993 European ACL, Uterich, The Netherlands, 1993.", |
| "links": null |
| } |
| }, |
| "ref_entries": { |
| "FIGREF0": { |
| "uris": null, |
| "num": null, |
| "text": "Figure 1: Transformation-Based Error-Driven Learning.", |
| "type_str": "figure" |
| }, |
| "FIGREF1": { |
| "uris": null, |
| "num": null, |
| "text": "Results From the ATIS Corpus, Starting With Right-Linear Structure.", |
| "type_str": "figure" |
| }, |
| "FIGREF2": { |
| "uris": null, |
| "num": null, |
| "text": "Finally, in figure 3 we show the sentence length distribution in the Wall Street Journal corpus.", |
| "type_str": "figure" |
| }, |
| "FIGREF3": { |
| "uris": null, |
| "num": null, |
| "text": "The Distribution of Sentence Lengths in the WSJ Corpus.", |
| "type_str": "figure" |
| }, |
| "TABREF2": { |
| "text": "we show the percentage of sentences in the test corpus that have no crossing constituents, and the percentage that have only a very small number of crossing constituents.11", |
| "type_str": "table", |
| "html": null, |
| "num": null, |
| "content": "<table><tr><td/><td>#</td><td/><td/><td/></tr><tr><td/><td>Training</td><td>% of</td><td>% of</td><td>% of</td></tr><tr><td>Sent</td><td>Corpus</td><td>O-error</td><td><_l-error</td><td><2-error</td></tr><tr><td>Length</td><td>Sents</td><td>Sents</td><td>Sents</td><td>Sents</td></tr><tr><td>2-15</td><td>500</td><td>53.7</td><td>72.3</td><td>84.6</td></tr><tr><td>2-15</td><td>1000</td><td>62.4</td><td>77.2</td><td>87.8</td></tr><tr><td>2-25</td><td>250</td><td>29.2</td><td>44.9</td><td>59.9</td></tr></table>" |
| }, |
| "TABREF3": { |
| "text": "WSJ Sentences.", |
| "type_str": "table", |
| "html": null, |
| "num": null, |
| "content": "<table/>" |
| }, |
| "TABREF5": { |
| "text": "WSJ Sentences of Length 2 to 20.", |
| "type_str": "table", |
| "html": null, |
| "num": null, |
| "content": "<table/>" |
| } |
| } |
| } |
| } |