<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="39"/><title>Thin Parsing: A Balance between Wide Scale Parsing and Chunking</title><author surname="Patrick" givenname="Jon"><org  name="University of Sydney" country="Australia" city="Sydney"/></author><author surname="Nguyen" givenname="Pham Hong"><org  name="University of Sydney" country="Australia" city="Sydney"/></author></firstpageheader><frontmatter><p><b>Thin Parsing: A Balance between Wide Scale Parsing and Chunking</b></p><p>Jon Patrick and Pham Hong Nguyen Sydney Language Technology Research Group School of Information Technologies</p><p>University of Sydney {jonpat,pham}@it.usyd.edu.au</p></frontmatter><abstract>This work presents a type of parser that takes the process of chunking to the stage of producing full parse trees. This type of parser, denoted Thin Parsers (TP) in this work has the characteristics of: following a given grammar, creating full parse trees, producing only a limited number of full parse trees, parsing in linear time of sentence length. Performance standards on the Penn Tree Bank show results slightly under that of stochastic parsers but faster performance. Various types of Thin Parsers are presented. </abstract></header><body><section number="1" title="Introduction"><p>Bottom-up and Top-down methods of parsing, invented in 1950s, can parse in time which is an exponential function of the length <i>n </i>of an input sentence O(cn). Tabular parsing methods such as the CYK (Cocke-Younger-Kasami) and Earley can parse context free languages in polynomial time O(n<footnote anchor="3"/>), a significant improvement compared with the previous parsers. These methods are usually called "traditional methods". However these methods are relatively slow, as they produce the complete parse trees. Also they use exhaustive search to find all possible parse trees, subsequently leading to the problem of needing to select an optimal parse from a very large set of solutions. Hence, researchers have tried to find other parsing methods and/or other formalisms for natural languages. For example, some researchers have tried to convert natural languages into regular languages to parse them by finite state automata (Black 1989, Pereira 2003). Some others work with    parsers    based    on    LL    or LR grammars/parsers. However, they still have been unable to gain anything but small improvements.</p><p>Recently, with the creation of large annotated corpora such as the Penn Tree Bank, probabilistic parsing methods based on their manifest grammars appear to be a useful solution for the parsing problem. In this situation, the induction of probabilistic context free grammars (PCFG) derived from the annotated corpora has become a new objective and many researchers have quickly developed improved performance (Ratnaparkhi 1994, Collins 1996).</p><p>A different use of tree bank corpora is made by the chunking or shallow parsing process (Abney 1991, Brants 1999, Tjong Kim Sang 2000).The main idea behind this parsing strategy is that both human and machine usually do not require full information of the parsing processes. These parsers usually produce only partial parse trees instead of full trees, which can be a disadvantage, but, the trade off is that the parse time becomes linear with the length of input sentences O<i>(n). </i>These parsers are called shallow parsers and the inference of probabilistic grammar rule sets is one of their useful characteristics.</p><p>Unfortunately, shallow parsers cannot be used in applications in which full parse trees are required. Under these circumstances there is a need to use traditional parsers or improve shallow parsers to produce full parse trees. The challenge here is to solve the problems created by inferring a parser from a corpus. The strategy used in this research is to give attention to improving the parser without recourse to comprehensive generative probabilistic models of the tree bank but rather by developing fast algorithms with accuracies rivaling that of probabilistic models.<page local="2" global="40"/></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><p>Justification for giving dominant attention to speed performance in the context of an inductive inference strategy is well supported by some established heuristics and by certain utilitarian values. As well, a search of the literature has failed to reveal any substantial attempt to analyse, on the basis of computability and speed performance, the advantages of an inductive inference approach to constructing a language parser from tree banks.</p><p>Well recognized heuristics that have been established and support the motivation for this work are that language is predictable. It is well recognized that there is significant redundancy in language at the lexicogrammar and semantic levels and that corpus analysis has demonstrated there are reasonable predictors for subsequent phenomena from a given point in a sentence.</p><p>Furthermore, Memory Based Learning has established the principle that "forgetting is harmful" to performance (Daelemans, van den Bosch &amp; Zavrel 1999) and so remembering is helpful.</p><p>Functional motivations include: large scale grammars can be better utilized by developing parser from their outputs; applications exist that don't need wide coverage grammars but rather high speed. Current research in speech recognition is moving into a phase of exploiting lexicogrammar to improve performance (Lemon, 2004).</p><p>This paper promotes and develops a specific class of parsing methods, Thin Parsers (TP). Like traditional parsers, this method considers natural languages as context free languages and/or probabilistic context free languages. The aims of Thin Parsers are to overcome some weak points of both traditional (full) and shallow parsers. In comparison to full parsers, the Thin Parsers should work faster in practice and produce one or a few parse trees instead of large number. The main advantage of TPs over shallow parsers is that they can build full parse trees instead of partial trees, however, thin parsers do not have the ability to infer new grammar rules as shallow parsers do. Thus Thin Parsers could be considered closer to full parsers than shallow parsers. The Thin parser can be considered as a balance between the issues of the language class, parser speed and accuracy, and the need for full parse information. Hence, in this research the focus is on building performance models which are potentially useful in real situations rather than to build competence models.</p></section><section number="2" title="Pre-processing of the PTB"><p>The TPs in this research are developed from the Penn Tree Bank (PTB). As with other corpora, the PTB has some errors. Some of them can be corrected automatically by program whereas the others require manual reviews and corrections.</p><p>As this research deals with CFGs, which lack the ability to smooth errors, better data for establishing a "gold standard" for both training and testing models is needed. From many authors working with the PTB, it appears that only Bod's (1995) research is based on cleaned data as is this study.</p><p>Each sentence of the PTB corpus is presented in three different formats: raw sentences, sentences with part-of-speech annotation, and skeletal syntactic bracketed sentences each in a separate file<footnote anchor="1"/>. Correct matching of these triples across the three files is needed to build up the full parse trees. However, due to errors in the data, the numbers of sentences are quite different in each file, making the work of extracting triples much harder and requiring human intervention.</p><p>From the development of suitable software, around 22,000 triples or only half of the data were extracted automatically. After correcting the data manually, this has been increased to 34,000 triples. This data set is denoted as the "Large set". From these triples, a subset of 6,700 triples was constructed, denoted the "Clean set" by deleting any triples having null elements and/or having incorrect parse trees (the trees that have none or more than one <i>S </i>node at the top of tree). This set is used in this research. The new set is quite small, compared with the original data, but still enough for experimentation as it is much larger than the sets used in other research of a similar nature, for example Bod (1995) only used 500 sentences.<page local="3" global="41"/></p><footnote label="1">Raw sentences are not used in this work.</footnote><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt></section><section number="3" title="Finite State Automata (FSA)"><p>The starting point for our modeling of the PTB is the inductive inference of FSAs for both the POS tag sequences and the phrasal tag sequences (see Fig. 1). Two tests using POS and Phrasal tags were run using 2 data sets (Large and Clean) to create a baseline for further work (Table 1). The results are quite similar with the Sekine's (1997) although they are slightly worse. The reasons appear to be: i) a smaller training set is used here (30,600 sentences compared with 47,219 sentences); ii) The training and testing here is on different sets.</p><p>The results for Phrasal tags are significantly better than POS tags (19.19 % compared with 4.22%). The main reasons are: i) the average length of sentences (14.71) is shorter (21.23), creating the potential for repeated structures to be more frequent; ii) the annotation set for POS (36 POS tags + 12 other tags) is much larger than in Phrasals (14 syntactic tags + 4 null elements) (Marcus 1993). These results are used as a base line for our research. However, they are still far from that of a good probabilistic parser (with over 70%).</p><p><b>Figure 1. </b>Inferred FSA for phrasal tag sequences in the PTB.</p><p>The Clean data set obviously brings some improvements. In the case of phrasal tags the FSA can parse successfully more than 44% of the phrasal test sentences. One of the reasons is that the average length of sentences is shorter. The POS tag results worsen between the Large and the Clean data sets compared to the phrasal tags. From these tests, it is evident that the lengths of sentences can affect the recognition results, the shorter the sentences, the better the result.</p><p><b>Table 1. </b>Coverage attained by inferred FSAs of PTB data sets.</p><p>In Charniak's (1996) work he ignored all sentences of length greater than 40 in the test data to avoid high parsing costs. An examination of the Big data set confirms his assessment that only a small sample are excluded. There are 29,462 sentences out of the 30,600 training set (96.28%) with a length of 40 words or under.</p><p>Our tests to identify relationships between the tag length and coverage show for POS tag sequences the FSA parser begins to show deterioration for lengths higher than 11 tags and for Phrasal tags about 14 tags.</p><subsection number="3.1" title="Combination of POS and Phrasal FSAs"><p>The POS tag FSA is useful in practice however, the main limitation is the low coverage. In contrast, the Phrasal tag FSA is not of much use even though it has a much higher coverage. To overcome the disadvantage of the first FSA and take the advantage of the second, they are merged into a new parser that works with inputs of POS and achieves a better coverage.</p><p>This new model can be viewed as two components, one is a simple FSA for recognizing phrasal tag sequences. The other part is a converter to convert sequences of part-of-speech tags into sequences of phrasal tags for input into the FSA. The Converter creates the mapping of the POS tags to phrasal tags. The Phrasal FSA after recognizing a string of phrasal tags identifies the tree top of a legal tree top in the training set to complete the full parse tree (see</p><p>Fig 2).</p><subsubsection number="3.1.1" title="Phrasal rules"><p>The rule sets for converting POS tags into phrasal tags are extracted from the PTB. For example, from the tree in Figure 3, some phrasal rules as follows can be extracted:</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">3</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>POS</p></td><td class="cell"><p>Phrasal</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Large</p></td><td class="cell"><p>4.22%</p></td><td class="cell"><p>19.19%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Clean</p></td><td class="cell"><p>3.66%</p></td><td class="cell"><p>44.87%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="42"/><doubt alpha="63.9" length="61" tooSmall="False" monospace="0.0">NP®DT JJNNNNS; VP®VBP; NP®NN; ADVP ®RB; VP ®VBG; QP ®RB IN CD</doubt><p>From the 6700 sentences in the Clean dataset around 1200 phrasal rules were automatically extracted. This rule set is only a small subset of the PTB grammar, which has at least 10,000 rules as mentioned in Charniak (1996).</p><p>are many different FSA corresponding to a phrasal tag.</p><doubt alpha="50.0" length="24" tooSmall="True" monospace="0.0">DT    JJ    NN   NNS VBP</doubt><p>Converter</p><doubt alpha="88.9" length="9" tooSmall="True" monospace="0.0">POS level</doubt><p><b>Figure 2. </b>Combination of POS and Phrasal tag</p><p>FSAs.</p></subsubsection><subsubsection number="3.1.2" title="Limitations on a Converter"><p>For parsing an unseen sentence a Converter is needed to perform an exhaustive search algorithm. That is it has to try every combination of POS tags to phrasal tag conversion for the set of POS tags in the sentence until the string of phrasal tags is recognized by the main FSA. However, this approach has exponential explosion even for a small rule set and short sentence.</p></subsubsection><subsubsection number="3.1.3" title="Recursive Transition Network Induction - model TP1"><p>In the first attempt to create an efficient Converter, the two kinds of FSA are combined by using Recursive Transition Networks (RTN) (Woods, 1970) because this model can help reduce the exponential time problem.</p><p>The two kinds of FSA are, one for part of speech tags and one for phrasal tags. The second one is the same FSA used in the initial tests above. The first one (type 1) uses a string of tags taken from the right side of phrasal rules instead of POS sentences. All rules which have the same left side are used to build one FSA. Thus there <b>Figure 3.</b><b> </b>Combination of two types of FSA into an RTN.</p><doubt alpha="80.0" length="10" tooSmall="True" monospace="0.0">FSA for NP</doubt></subsubsection></subsection><subsection number="3.2" title="Results and Analysis"><p>The results of parsing by an RTN are shown in Table 2. The 6700 sentences of the Clean data set were used with 10 fold cross-validation. There is no restriction on sentence length for the first test, however, in the second test, like Charniak (1996), all the sentences with length in excess of 40 tags were removed. The RTN method has a very high coverage (98.32%) but the accuracy (R= 19%, P=23%, F=21%) are below the base line.</p><p>Theoretically, parsing by an RTN method is not as fast as using an FSA. Woods (1970) has shown that the time is about O(cn). However, in this work the RTN performs much faster, the average parse time per sentence is 0.0176 second<footnote anchor="2"/> and slightly better 0.0156 if the sentences which are longer than 40 tags are ignored because:</p><p>• the phrasal FSA has only a depth of one</p><p>• there are no recursive loops</p><p>• the first level is recognized as a chunk, not only a tag, thus, the number of elements at the first level is reduced significantly</p><p>All tests are done on a computer P4, 1.6 Ghz, 1 GB Ram. The time includes time for parsing, extracting parse trees and measuring accuracy.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">4</doubt><page local="5" global="43"/><p>• the number of phrasal rules is around 1400 -much smaller than the total number of grammar rules of the PTB<footnote anchor="3"/></p><p>• this model stops parsing after finding a solution.</p><p>In the worst case, the maximum parse time for all data is 1.603 seconds and for &lt;41 data is only 0.911 seconds<footnote anchor="4"/>.</p><p>The results in Table 2 of the RTN show a very high proportion of coverage - 98%. The high coverage and fast parse time of this model could well be useful for some applications.</p><p><b>Table 2. </b>Performance percentages of RTNs on the Clean data (10-fold cross-validation).</p></subsection></section><section number="4" title="Shallow Parsers for building Parse Trees"><p>To establish an understanding of the base performance of shallow parsers when used to build full parse trees we developed a method based on Abney (1991). The first experiment showed the coverage of the system is only 0.5% (only 3 of 600 test sentences).</p><p>With the aim of producing a better assessment of coverage, the accuracy of the base sub-trees (lower parts of trees) which are created by the shallow parser is computed by an alternative method, that is the tag <i>S </i>is added to every incomplete parse tree. This produced the can be considered as another baseline. Comparisons of these results to the works of other authors are not possible as they have only reported the accuracy of chunkers.</p><doubt alpha="52.3" length="44" tooSmall="False" monospace="0.0">results of P=36.65%, R=15.03%. These results</doubt><footnote label="3">An Earley parser (with parse time O (n 3 ))  was built and tested using a reduced set of 9000 rules of the PTB, in general this parser takes from 30 seconds / short sentence to some days for long ones (around 30 words). When using a much smaller and manually compacted rule set of 3000 the parser still takes several hours for a long sentence.</footnote><footnote label="4">The parse time is computed here to demonstrate how fast the model TP1 is in practice but not the fastest speed of this model.</footnote></section><section number="5" title="Constructing Thin Parsers from Shallow Parsers - TP2"><p>In this section, some improvements to the shallow parser model to extract the full parse trees are developed. These improvements can also be viewed as mixing models, that is a shallow parser and a finite state automaton (FSA), a shallow parser and a data-oriented parser (DOP), and the adaptation of a shallow parser with some non-deterministic components. The framework objective behind this blending is to reduce the number of levels needed in parse trees, reduce the number of elements of the parse trees, use of more stored pre-computed information, and to use non-deterministic mechanisms.</p><p>The large number of levels of the parse tree for the shallow parser is one of the major reasons for the poor coverage in extracting full parse trees. With each new level, the parser has more chance of being trapped and/or creating errors which will propagate to higher levels, that is the coverage and accuracy are affected seriously by the number of levels. Hence, the idea of improvement here is to let the parser work for the first level or at the most the few first levels only, which can work well. Then another process adds the top parts of trees to complete the full trees.</p><p>The tree tops that will be used to complete the parsing are pre-computed from the training corpus and saved into a database. One extra advantage of this method is that even though at the lower levels the trees are variable and large in number, at the higher levels the multiple forms decrease sharply. This means the number of tree tops is small, and easy to collect and to save to a database. Hence in testing the system has two parts. The first part works like a shallow parser and the second part is a search mechanism retrieving from this database.</p><p>After creating the base sub-trees of a parse tree (by working for only one or the first few levels), the shallow parser passes the result to the next process "Find and Join". This process retrieves from a database a saved tree top matching the tag configuration of these base sub­trees. If a suitable tree top is found, this function will attach it to the lower sub-trees to create a full parse tree. The condition to match the two parts is straightforward:<page local="6" global="44"/> the top sequence of tags of the base sub-trees must be matched with the bottom sequence of the tree top.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">5</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>N</p></td><td class="cell"><p><b>C'age</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>P</b></p></td><td class="cell"><p><b>F</b></p></td><td class="cell"><p><b>Time</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>all</p></td><td class="cell"><p>98.32</p></td><td class="cell"><p>19.74</p></td><td class="cell"><p>23.92</p></td><td class="cell"><p>21.83</p></td><td class="cell"><p>0.0176</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>&lt;41</p></td><td class="cell"><p><b>98.48</b></p></td><td class="cell"><p><b>19.18</b></p></td><td class="cell"><p><b>23.3</b></p></td><td class="cell"><p><b>21.24</b></p></td><td class="cell"><p><b>0.0156</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Although four methods can be considered for assessment (Pham, 2004), the test results are shown here with a weaker measure, adjusted crossover brackets, to enable comparison with other authors. The data for training and testing is the Clean data set (6000 sentences for training and 600 for testing). After chunking <i>k </i>levels (column <i>Level/k) </i>the system gets the results sequence which is recognized by an FSA. Column <i>Succ </i>shows the numbers of parsed sentences.</p><p>Model TP2 can parse successfully a range from 21.67% to 55.83% of input sentences with accuracies <i>(F) </i>from 76.61% to 91.68% (Table 3). The accuracies are highest when the shallow parser works for only the first level (level 0). The coverage, unlike accuracy, increases by level and reaches the highest proportion at level 7 (55.83%) before decreasing slightly. As previously discussed, with the higher levels the variety of tree tops decreases sharply, helping the system match these tops more successfully. The model TP2 can parse successfully over 46% of total sentences with high accuracy of over 76% at k&gt;=5.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">6</doubt><p><b>Table 3. </b>Results of model TP2 chunking, measures of the accuracy of nodes with adjusting crossover brackets.</p></section><section number="6" title="Reduction of the number of tree elements -"><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">TP3</doubt><p>The number of grammar rules available for use in a parse tree is usually large. For each extra rule that is used in a parse the tree has more variation at higher levels. This provides more opportunities for the parse to be trapped or to propagate more errors. Furthermore, if two rules have the same right hand side, then the one with the highest frequency is used for building the tree. However this selection process of removing a less frequent rule is the main reason for shallow parsers not being able to build up a full parse.</p><p>Another idea for improvement of model TP2 is to reduce the number of grammar rules per parse tree by using the tree fragments which could be larger than these rules. By such a mechanism, the parser has more chance to use maximally frequent fragments, that is combinations of grammar rules, rather than grammar rules alone, thus avoiding the omission of less frequent grammar rules. Another advantage is that the number of levels can be reduced and so gain the benefit of getting higher coverage as well as faster execution time.</p><p>This idea is partly similar to Bod's (1995) model of DOP for using tree fragments, however in detail, there are differences in the ways tree fragments are collected and the method of parsing.</p><subsection number="6.1" title="Collection of fragments"><p>In the DOP model, Bod collects all possible tree fragments. However, this has the disadvantage that the number of fragments grows exponentially with size of grammar.</p><p>In the case of the TP2 model, tree fragments are collected based on the data set prepared for the shallow parsing experiments, that is the filled trees, that is all branches have nodes at each lower level. The conditions for collecting a sub-tree as a real fragment are that all leaves at the end of the tree start on the same level, as the tree is filled, and, it has a height of 2 levels or more.</p><p>For example, Figure 4 shows a sub-tree of a parse tree. The DOP model will collect a total of 32 fragments from this sub tree. In the TP3 model, firstly this sub tree is converted into a filled tree as shown in Figure 5.<page local="7" global="45"/>a. From this data only two fragments are collected as in Figures 5.b and 5.c, hence an exponential increase of fragments is prevented.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Level/</b></p></td><td class="cell"><p><b>Suc</b></p></td><td class="cell"><p><b>Cover</b></p></td><td class="cell"><p><b>P %</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>F</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>k</b></p></td><td class="cell"><p><b>c.</b></p></td><td class="cell"><p><b>age %</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>%</b></p></td><td class="cell"><p><b>%</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>239</p></td><td class="cell"><p>39.8</p></td><td class="cell"><p>92.3</p></td><td class="cell"><p>91.1</p></td><td class="cell"><p>91.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>130</p></td><td class="cell"><p>21.7</p></td><td class="cell"><p>90.4</p></td><td class="cell"><p>89.7</p></td><td class="cell"><p>90.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>219</p></td><td class="cell"><p>36.5</p></td><td class="cell"><p>82.3</p></td><td class="cell"><p>83.1</p></td><td class="cell"><p>82.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>248</p></td><td class="cell"><p>41.3</p></td><td class="cell"><p>79.9</p></td><td class="cell"><p>80.5</p></td><td class="cell"><p>80.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>277</p></td><td class="cell"><p>46.2</p></td><td class="cell"><p>78.5</p></td><td class="cell"><p>79.3</p></td><td class="cell"><p>78.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6</p></td><td class="cell"><p>304</p></td><td class="cell"><p>50.7</p></td><td class="cell"><p>78.8</p></td><td class="cell"><p>79.4</p></td><td class="cell"><p>79.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7</p></td><td class="cell"><p>335</p></td><td class="cell"><p>55.8</p></td><td class="cell"><p>77.3</p></td><td class="cell"><p>78.1</p></td><td class="cell"><p>77.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>8</p></td><td class="cell"><p>307</p></td><td class="cell"><p>51.2</p></td><td class="cell"><p>76.5</p></td><td class="cell"><p>76.7</p></td><td class="cell"><p>76.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>9</p></td><td class="cell"><p>316</p></td><td class="cell"><p>52.7</p></td><td class="cell"><p>76.6</p></td><td class="cell"><p>77.1</p></td><td class="cell"><p>76.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">7</doubt></subsection><subsection number="6.2" title="Results"><p>All data for training and testing model TP3 is reported for both shallow parsing (chunking, Table 4) and parsing (Table 5).</p><p>JJ     NNS    CC    NN NN <b>Figure 4.</b><b> </b>An example of a sub-tree from a parse tree.</p><doubt alpha="80.0" length="5" tooSmall="True" monospace="0.0">VP NP</doubt><doubt alpha="37.0" length="27" tooSmall="True" monospace="0.0">VBD        JJ        NNS CC</doubt><doubt alpha="72.7" length="11" tooSmall="True" monospace="0.0">VP NP NP NP</doubt><doubt alpha="50.0" length="2" tooSmall="True" monospace="0.0">b)</doubt><doubt alpha="83.3" length="6" tooSmall="True" monospace="0.0">NNS CC</doubt><p><b>Figure 5. </b>The parse sub-tree from Fig. 4 converted into filled sub-tree (a). From (a) in training only two fragments (b) and (c) are collected in model TP3.</p><p>Table 4 shows the results of chunking the Clean data set. This is quite similar to Table 5.3 text chunking except: the maximum level is only 1, and, the accuracy of the two highest levels appears to be exceptional because the number of sentences is quite small (844 and 586 respectively), compared with whole learning set (6000 sentence).</p><p>As the levels increase the number of sentences available for both training and testing decreases as there is a variable range of tree heights across the corpus.</p><p><b>Table 4. </b>Text chunking results using the Clean data set for model TP3.</p><p>Table 5 shows the results of the parse of 600 sentences from the Clean data set. The coverage of TP3 in the best case is over 61% (at level 5), better than the best coverage 55% of TP2. However, the accuracies in general are a little worse than the accuracies of TP2. Both TP2 and TP3 reach the highest accuracies at level 1 and reduce at higher levels.</p><p><b>Table 5. </b>Parsing results using the Clean data set with model TP3.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Level</b></p></td><td class="cell"><p><b>Precision</b></p></td><td class="cell"><p><b>Recall</b></p></td><td class="cell"><p><b>F</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0</p></td><td class="cell"><p>84.2</p></td><td class="cell"><p>83.7</p></td><td class="cell"><p>83.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>72.5</p></td><td class="cell"><p>64.1</p></td><td class="cell"><p>68.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>75.4</p></td><td class="cell"><p>59.0</p></td><td class="cell"><p>66.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>68.8</p></td><td class="cell"><p>53.1</p></td><td class="cell"><p>59.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>68.1</p></td><td class="cell"><p>52.8</p></td><td class="cell"><p>59.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>72.1</p></td><td class="cell"><p>65.4</p></td><td class="cell"><p>68.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6</p></td><td class="cell"><p>79.9</p></td><td class="cell"><p>68.3</p></td><td class="cell"><p>73.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7</p></td><td class="cell"><p>91.1</p></td><td class="cell"><p>85.4</p></td><td class="cell"><p>88.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>&gt;8</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>100.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Level</b></p></td><td class="cell"><p><b>Succ.</b></p></td><td class="cell"><p><b>Coverage</b></p></td><td class="cell"><p><b>P</b></p></td><td class="cell"><p><b>R</b></p></td><td class="cell"><p><b>F</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>230</p></td><td class="cell"><p>38.4</p></td><td class="cell"><p>84.8</p></td><td class="cell"><p>85.5</p></td><td class="cell"><p>85.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>135</p></td><td class="cell"><p>22.5</p></td><td class="cell"><p>64.8</p></td><td class="cell"><p>73.7</p></td><td class="cell"><p>69.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>184</p></td><td class="cell"><p>30.7</p></td><td class="cell"><p>63.8</p></td><td class="cell"><p>74.7</p></td><td class="cell"><p>69.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>351</p></td><td class="cell"><p>58.6</p></td><td class="cell"><p>64.7</p></td><td class="cell"><p>74.8</p></td><td class="cell"><p>69.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>368</p></td><td class="cell"><p>61.4</p></td><td class="cell"><p>69.3</p></td><td class="cell"><p>76.8</p></td><td class="cell"><p>73.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6</p></td><td class="cell"><p>183</p></td><td class="cell"><p>30.6</p></td><td class="cell"><p>70.7</p></td><td class="cell"><p>79.2</p></td><td class="cell"><p>75.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7</p></td><td class="cell"><p>62</p></td><td class="cell"><p>10.4</p></td><td class="cell"><p>68.7</p></td><td class="cell"><p>75.7</p></td><td class="cell"><p>72.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>&gt;8</p></td><td class="cell"><p>1</p></td><td class="cell"><p>0.17</p></td><td class="cell"><p>73.5</p></td><td class="cell"><p>83.3</p></td><td class="cell"><p>78.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="8" global="46"/><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">8</doubt></subsection></section><section number="7" title="Non-Deterministic models -TP4, TP5"><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model</p></td><td class="cell"><p>Coverage</p></td><td class="cell"><p>P</p></td><td class="cell"><p>R</p></td><td class="cell"><p>F</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>TP4</p></td><td class="cell"><p>63.7%</p></td><td class="cell"><p>83.0</p></td><td class="cell"><p>84.6</p></td><td class="cell"><p>83.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>TP5</p></td><td class="cell"><p>82.2%</p></td><td class="cell"><p>88.3</p></td><td class="cell"><p>88.0</p></td><td class="cell"><p>88.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>Two approaches have been investigated in an attempt to produce concurrent solutions to improving coverage and accuracy. Whilst the methods will be reported elsewhere the results are relevant to this study and show great promise. The first method, model TP4, uses the idea of a non-deterministic chunker with a deterministic attacher. The second model, TP5, uses a deterministic chunker with a non-deterministic attacher. By exploitation of the learning process of creating a tree tops database and using algorithms to match the database entries against the candidate parse trees rather than the other way the practical implementation requires linear time to parse. The performance of the two systems is presented in Table 6.</p><p><b>Table 6. </b>Performance statistics of models TP4 &amp; TP5.</p><p><b>8 Conclusions</b></p><p>Some improvements to building a thin parser from a shallow parser have been presented in the form of models TP2 and TP3, TP4 and TP5. They all include in the first stage a shallow parser. In general, these models can solve to some degree some problems of shallow parsing when extracting full parse trees. The problems are: deterministic mechanisms are not adequate enough for dealing with the ambiguities of natural language; the configuration of connections between layers make any error that occurs in the lower levels propagate to higher levels and worsen the performance; the Chunker and Attacher need to work with some limitations, such as using only the most probable rules; and not attach chunks with a size of 1. The results of these models are quite good: the coverage (from 0.5% of original shallow parser) has improved to more than 82%, and the accuracy has improved from 20% to over 88%.</p><p>Abney S. 1991. Parsing By Chunks. In: R. Berwick, S. Abney &amp; C. Tenny (eds.), <i>Principle-Based Parsing. </i>Kluwer Academic Publishers, Dordrecht.</p><p>Black, A. (1989). Finite State Machines from Feature Grammars, <i>International Workshop on Parsing Technologies, </i>Carnegie-Mellon University, Pittsburgh, PA.</p><p>Bod R. 1995. Enriching Linguistics with Statistics: Performance Models of Natural Language, <i>Academische Pers, </i>The Netherlands. 143 pp. (Ph.D. thesis).</p><p>Brants T. 1999. Cascaded Markov Models. In <i>Proc of 9th Conf. of the Euro. Chapt of the ACL, EACL-99, </i>Norway.</p><p>Charniak E. 1996. Tree-bank grammars, <i>Tech Report CS-96-02, </i>Dept of Computer Science, Brown University.</p><p>Collins M. 1996. A New Statistical Parser Based on Bigram Lexical Dependencies. Proc of the <i>34th Annual Meeting of the ACL, </i>Santa Cruz.</p><p>Daelemans, W, van den Bosch, A &amp; Zavrel, J. 1999. Forgetting exceptions is harmful in language learning. <i>Machine Learning</i></p><p>Lemon, O. 2004. Context sensitive speech recognition in ISU dialogue systems: Results for the grammar switching approach. <i>Proc. 8th Workshop on the Semantics and Pragmatics of Dialogue, CATALOG'04.</i></p><p>Marcus M., Santorini, B. Marcinkiewicz, M. 1993. Building a large annotated corpus of English: the Penn Treebank, <i>Jnl of Computational Linguistics, </i>Vol. 19 No. 1.</p><p>Pham Hong Nguyen 2004. Thin Parsing, PhD Thesis, Univeristy of Sydney.</p><p>Tjong Kim Sang E. F. and Buchholz, S. 2000. Introduction to the CoNLL-2000 Shared Task: Chunking. In <i>Proc of</i> <i>CoNLL-2000, </i>Lisbon, Portugal.</p><p>Sekine S., Grishman R., 1995, A Corpus-based Probabilistic Grammar with Only Two Non-terminals. <i>Fourth International Workshop on Parsing Technology; </i>Prague.</p><p>Sekine S. 1998. Corpus-based Parsing and Sublanguage Studies, <i>Ph.D. Thesis, </i>New York University.</p><p>Sha F. Pereira F., 2003. Shallow parsing with conditional random fields. In <i>Proc of HLT-NAACL. </i>ACL.</p><p>Tjong Kim Sang, E. F. 2000. Text Chunking by System Combination. In <i>Proc of CoNLL-2000, </i>Lisbon, Portugal.</p><p>Ratnaparkhi A., Reynar J., and Roukos S., 1994. A Maximum Entropy Model for Prepositional Phrase Attachment. In Proc <i>of the ARPA Human Language Technology Workshop.</i></p><p>Woods W. A. 1970. Transition Network Grammars for Natural Language Analysis, <i>Comm of the ACM, </i>13, 10.</p></references></body></article>