<?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="24"/><title>A Statistical Approach towards Unknown Word Type Prediction for Deep Grammars</title><pubinfo>Proceedings of the Australasian Language Technology Workshop 2005,pages 24-31, Sydney, Australia, December 2005.</pubinfo><author surname="Zhang" givenname="Yi"><org  name="Saarland University" country="Germany" city="Saarbrucken"/></author><author surname="Kordoni" givenname="Valia"><org  name="Lund University" country="Sweden"/></author></firstpageheader><frontmatter><p><b>A Statistical Approach towards Unknown Word Type Prediction</b></p><p><b>for Deep Grammars</b></p><p>Yi Zhang and Valia Kordoni</p><p>Department of Computational Linguistics Saarland University Saarbrücken, Germany, D-66041</p></frontmatter><abstract>This paper presents a statistical approach to un­known word type prediction for a deep HPSG grammar. Our motivation is to enhance robust­ness in deep processing. With a predictor which predicts lexical types for unknown words ac­cording to the context, new lexical entries can be generated on the fly. The predictor is a maximum entropy based classifier trained on a HPSG treebank. By exploring various feature templates and the feedback from parse disam­biguation results, the predictor achieves preci­sion over 60%. The models are general enough to be applied to other constraint-based gram­mar formalisms. </abstract></header><body><section number="1" title="Introduction"><p>Deep processing delivers fine-grained syntactic and semantic analyses which are desirable for advanced NLP applications. However, <i>speci­ficity </i>and <i>robustness </i>are the major difficulties that deep processing has encountered for years.</p><p>Unlike shallow methods, which in most cases deliver an expected number of analyses, the number of output from deep processing is usu­ally unpredictable, especially for open texts. The <i>specificity </i>problem arises when there are more analyses generated than expected. The analyses might be linguistically sound, but prac­tically uninteresting for real applications. Re­cently, with more deep processing resources made available (Oepen et al., 2002), the speci­ficity problem is being alleviated with statistical parse selection models (Toutanova et al., 2002).</p><p>As to <i>robustness, </i>more open questions remain to be investigated. A deep grammar is normally a complicated rule system. Whenever the input varies, even slightly, beyond the grammar de­velopers' expectations, the output becomes un­predictable.</p><p>Closer studies of deep grammars have shown that lexicon coverage is one of the major barri­ers preventing deep grammars from being used for open text processing. Take the LinGO English Resource Grammar (ERG) (Copestake and Flickinger, 2000), for instance. The gram­mar has been developed for more than 10 years, and currently contains about 22K lexicon en­tries. A recent test on the BNC corpus reported that only 32% of the strings have full lexical span, of which 57% get at least one parse (Bald­win et al., 2004). About 40% of the parsing failures are due to lexicon missing. Lexicalized deep grammars rely on knowledge-rich lexicon. However, the construction of a lexicon with de­cent coverage requires a huge amount of human effort and considerable linguistic proficiency.</p><p>A widely adopted approach towards robust deep processing is to integrate shallow meth­ods (Callmeier et al., 2004). However, most re­cent approaches still work on various fall-back strategies. When a deep processing component fails to deliver output, intermediate or shallow components are invoked to provide compatible analyses. Practically valid, this approach does not directly help to enhance the robustness of deep processing itself.</p><p>Inspired by the statistical approaches in parse selection (Toutanova et al., 2002), we pro­pose a statistical approach for unknown word type prediction. The experiments are carried out on a broad-coverage linguistically-precise HPSG grammar for English, the LinGO En­glish Resource Grammar (ERG) (Copestake and Flickinger, 2000). However the underlying statistical model is general enough to apply to other deep grammars. Also, by incorporating the parse disambiguation result, we show that the <i>robustness </i>is in nature a dual problem to the <i>specificity. </i>And they can benefit from each other's improvements.</p><p>The remainder of the paper is structured as follows: Section 2 gives the background about the lexicon in HPSG; Section 3 describes our statistical models for unknown word type pre­diction and the various feature templates we use; Section 4 shows how the parse selection model can be incorporated to enhance the pre­cision of prediction ; Section 5 reports on the experiment results; Section 6 compares our ap­proach to other related work; Section 7 con­cludes our approach and presents some aspects of our future work.<page local="2" global="25"/></p></section><section number="2" title="Lexicon Representation Definitions in HPSG"><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">and</doubt><p><i>Head-driven Phrase Structure Grammar (HPSG) </i>(Pollard and Sag, 1994) is a widely adopted constraint-based grammar formalism. Based on <i>typed feature structure (TFS) </i>(Car­penter, 1992), HPSG is highly lexicalized, which means there is only a limited number of highly generalized rules (ID Schemata &amp; LP rules). A knowledge-rich lexicon is organized into a complex type hierarchy.</p><p>In HPSG, all the linguistic objects are mod­eled by TFSs. Formally, a TFS is a <i>directed acyclic graph (DAG). </i>Each node in the DAG is labelled with a <i>sort symbol </i>(or <i>type </i>) corre­sponding to the category of the linguistic ob­ject. All the <i>sort symbols </i>are organized into an inheritance system, namely the <i>type hierarchy. </i>Two types are compatible if they share at least one common subtype in the hierarchy.</p><p>The lexicon is also organized into the type hi­erarchy. In principle, each lexical entry is a well-formed TFS, which conveys a set of constraints. The constraints include both feature-value ap­propriateness and type compatibility. For in­stance, Figure 1 is the TFS for the proper name <i>"Mary".</i></p><doubt alpha="100.0" length="8" tooSmall="True" monospace="0.0">HEADnoun</doubt><doubt alpha="100.0" length="3" tooSmall="True" monospace="0.0">YAL</doubt><doubt alpha="100.0" length="7" tooSmall="True" monospace="0.0">valence</doubt><doubt alpha="100.0" length="15" tooSmall="True" monospace="0.0">CASEcasePRDbool</doubt><doubt alpha="52.2" length="23" tooSmall="True" monospace="0.0">SÜBJ {) SPR {) CQMPS {)</doubt><doubt alpha="90.9" length="11" tooSmall="True" monospace="0.0">RESTRSnamm\</doubt><doubt alpha="90.0" length="10" tooSmall="True" monospace="0.0">CQNX|BKGRD</doubt><doubt alpha="100.0" length="5" tooSmall="True" monospace="0.0">femai</doubt><doubt alpha="100.0" length="5" tooSmall="True" monospace="0.0">local</doubt><doubt alpha="100.0" length="14" tooSmall="True" monospace="0.0">NQNLQCnonlocal</doubt><doubt alpha="94.1" length="17" tooSmall="True" monospace="0.0">PER3rdNUMsgGENfem</doubt><doubt alpha="50.0" length="8" tooSmall="True" monospace="0.0">[^INST ^</doubt><figure caption='Figure 1: TFS of lexical entry for"Mary"However in implementation,  complete de-'></figure><p>scription is barely necessary. Most of the con­straints will be conveyed via type inheritance. Only entry specific information like the stem and the semantic relation are required.</p><doubt alpha="56.5" length="46" tooSmall="False" monospace="0.0">tsunami_n1 := n_intr_le &amp; [ STEM &lt; "tsunami"&gt;,</doubt><p><b>SYNSEM [ LKEYS.KEYREL.PRED</b> <b>"_tsunami_n_rel", PHON.</b><b>ONSET con ] </b><b>].</b></p><doubt alpha="60.7" length="28" tooSmall="False" monospace="0.0">admire_v1 := v_np_trans_le &amp;</doubt><doubt alpha="66.0" length="47" tooSmall="False" monospace="0.0">[ STEM &lt; "admire" &gt;, SYNSEM [ LKEYS.KEYREL.PRED</doubt><doubt alpha="62.5" length="16" tooSmall="False" monospace="0.0">"_admire_v_rel",</doubt><p><b>PHON.ONSET voc ] ].</b></p><p>Figure 2 gives part of the lexical hierarchy in ERG under the type <i>basic-nounjword. </i>Types with the suffix <i>"le" </i>are so-called leaf lexical types and should be directly assigned to lexical entries. These types are always mutually sep­arated and incompatible. It is noticeable that each lexical entry takes exactly one leaf lexical type. When a word has more than one syntac­tic and/or semantic behaviors, different lexical entries will be created separately.</p><p>ERG<footnote anchor="1"/> defines in total 741 leaf lexical types, of which 709 types are actually used in its lexi­con with 12347 entries. A large number of these lexical types are closed categories whose lexical entries should already exist in the grammar. It is obvious that missing lexical entries, in most cases, should be in open categories. Verb, noun, adjective and adverb are the major open cate­gories. In ERG, the number of leaf lexical types under these general categories are shown in Ta­ble 1.</p><p>However, even for the open categories, the distribution of existing lexical entries over dif­ferent lexical types varies significantly. Table</p><footnote label="1">The June 2004 release of ERG was used through­out this paper for experiments and statistics. This was also the version used for building the latest version of Redwood Treebank.</footnote><doubt alpha="100.0" length="4" tooSmall="True" monospace="0.0">PHQN</doubt><doubt alpha="100.0" length="3" tooSmall="True" monospace="0.0">cat</doubt><doubt alpha="100.0" length="3" tooSmall="True" monospace="0.0">LQC</doubt><doubt alpha="100.0" length="3" tooSmall="True" monospace="0.0">iND</doubt><doubt alpha="100.0" length="6" tooSmall="True" monospace="0.0">SYNSEM</doubt><doubt alpha="100.0" length="4" tooSmall="True" monospace="0.0">CQNT</doubt><doubt alpha="100.0" length="6" tooSmall="True" monospace="0.0">synsem</doubt><doubt alpha="100.0" length="4" tooSmall="True" monospace="0.0">word</doubt><doubt alpha="80.0" length="10" tooSmall="True" monospace="0.0">NAMEMary \</doubt><p>BEARER    ED /<page local="3" global="26"/></p><table caption="Table 1: Number of Leaf Lexical Types under Major Open Categories in ERG" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>General Cat.</p></td><td class="cell"><p>Leaf Lex Types Num.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>verb</p></td><td class="cell"><p>261</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>noun</p></td><td class="cell"><p>177</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>adjective</p></td><td class="cell"><p>78</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>adverb</p></td><td class="cell"><p>53</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></tr></table><p>J)a^ic_riouj<b>^L^^ </b>noun_noninfl_word basic_n_proper_lexent</p><p>basic _int r_noun _word basic_intr_lex_entry <i>ri-massJe</i> n_proper_lexent <i>n-properJe</i> n_intr_lex_entry <i>ri-ppof-measJe</i> <i>nJntr-nosortJe</i> 2 lists the top 10 lexical types with maximum number of entries in the ERG lexicon.</p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">nJntrJe</doubt><figure caption="Figure 2: Part of the Lexical Hierarchy in ERG"></figure><table caption="Table 2: Number of Entries for Top-10 Leaf Lex­ical Types in ERG"></table><p>The top 10 verbal types count for about 75% of the verbal entries. For nouns the figure is about 95% and 90% for adjectives. Presumably, the automated lexical extension for nouns will be easier. This is plausible because verbal lexi­cal entries normally require more detailed sub-categorization information.</p></section><section number="3" title="Statistical Unknown Word Type Prediction Models"><p>For open text processing, a static lexicon in­evitably becomes insufficient. A better strat­egy is to build an unknown word type predic­tor which can <i>"guess" </i>the lexical type from the available context, and generate lexical entries on the fly.</p><p>As mentioned in Section 2, the lexicon of an HPSG grammar is organized into a type hier­archy. Each entry bears exactly one leaf lexical type. So the predictor is actually a classifier, which takes various context and morphological forms of the unknown word into consideration, and picks out the most suitable leaf lexical type as output.</p><p>Such an unknown word type predictor is es­sentially very similar to a part-of-speech (POS) tagger. A typical POS tagger assigns a (unique or ambiguous) part-of-speech tag to each token in the input. A large number of current lan­guage processing systems use a POS tagger for pre-processing. The difference is that our un­known word type predictor has a very larger tagset. The tagset of a typical POS tagger usu­ally contains tens of different tags. But our predictor needs to handle hundreds of possible types. In addition, an unknown word type pre­dictor only predicts unknown words while a typ­ical POS tagger generates tags for each token on the input sequence. Another point is that our unknown word type predictor can use any context information available at the processing stage. But normally a POS tagger only uses sur­face context features because these are usually used during pre-processing.</p><subsection number="3.1" title="Maximum Entropy Classifier Based Predition Model"><p>Considering these difference, we have con­structed our predictor based on a maximum en­tropy classifier. The advantages of a Maximum entropy model lie in the general feature repre­sentation and in no independence assumptions between features. A maximum entropy model can also easily handle thousands of features and large numbers of possible outputs.</p><p>For our prediction model, the probability of a lexical type t given an unknown word and its context c is:</p><p><i>ri(fr)=</i><i> <u>exP(J2i </u></i><b><i><u>0ifi</u></i></b><i><u>(t,c))</u> m</i>where feature f (t, c) may encode arbitrary<page local="4" global="27"/></p><table caption="Table 2: Number of Entries for Top-10 Leaf Lexical Types in ERG" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Leaf Lexical Type</p></td><td class="cell"><p>Num. of Entries</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>nJntrJe</i></p></td><td class="cell"><p>1742</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>ri-properJe</i></p></td><td class="cell"><p>1463</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>adj-intransJe</i></p></td><td class="cell"><p>1386</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>v</i><i>-np-transJe</i></p></td><td class="cell"><p>732</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>ri-ppofJe</i></p></td><td class="cell"><p>728</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>adv-int-vpJe</i></p></td><td class="cell"><p>390</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>v</i><i>-np *-transJe</i></p></td><td class="cell"><p>342</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>ri-mass-CountJe</i></p></td><td class="cell"><p>292</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>v</i><i>-particle-npJe</i></p></td><td class="cell"><p>242</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>ri-tnassJe</i></p></td><td class="cell"><p>226</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></tr></table><p>characteristics of the context. The parameters <i>&lt;</i><i> </i><i>6</i><i>1</i><i>,6</i><i>2</i>,... &gt; can be evaluated by maximizing the pseudo-likelihood on a training corpus (see (Malouf, 2002)).</p><p>The basic feature templates used in our ME-based model include the prefix and suffix of the unknown word, the context words within a win­dow size of 5, and their corresponding lexical types.</p></subsection><subsection number="3.2" title="Using Partial Parsing Results as Features"><p>Each lexical type is essentially a set of con­straints on linguistic objects. If a word has a specific lexical type, it must conform to all the constraints demanded by the type, and hence it can only appear in some specific linguistic con­text. The constraints concern various linguistic aspects, among which syntactic constraints are predominant.</p><p>One advantage of using a maximum entropy based model is that ME allows the combina­tion of diverse forms of contextual information in a principled manner, and it does not impose any distributional assumptions on the training data. So far, only the surface context features (words and their lexical types) are used. It can be presumed that the precision can be enhanced by adding syntactic context as features into the prediction model.</p><p>However, syntactic information is not avail­able in a traditional pipeline processing model, where the syntactic analysis will be the post­processing module to the predictor. Also, when there are unknown words in the input, a full analysis of the sentence is not possible.</p><p>So we have modified our strategy by inserting a partial parsing stage before the lexical type predictor if there are unknown words on the in­put sequence.</p><p>The partial parse needs some clarification. A full parse can be represented by a set of edges as shown in Figure 3(a). Each edge is derived from a rule application. There is no more than one edge between each pair of positions. And there is always exactly one full span edge in a full parse.</p><p>A partial parse of an input sequence is a set of edges which composes a shortest path from the beginning to the end of the sequence<footnote anchor="2"/>. There might be more than one partial parse for a given input sequence. As shown in Figure 3(b), when the word between position 2 and 3 is unknown, a dummy edge c is created. This dummy edge will prevent further rule application. Both <i>a — c — d </i>and <i>b — c — d </i>are partial parses.</p><footnote label="2">Note that the edges on the full parse of the sentence are not necessary in the corresponding partial parses if a word is assumed to be unknown. However, partial parses do reduce the number of candidate edges for considera­tion.</footnote><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(b)</doubt><figure caption="Figure 3: Parsing edges: (a) edges in a full parse; (b) edges in partial parses."></figure><p>From the partial parses, we collect all edges that are adjacent to the left/right of the un­known word, respectively. Then the rules that generate these edges are counted according to their application (once per edge). The most fre­quently used rules to create left/right adjacent edges are added as two features conveying syn­tactic information into the ME-based model. A complete list of all features templates used in our predictor are listed in Table 3.</p></subsection></section><section number="4" title="Incorporating Parse Disambiguation Results"><p>As mentioned before, deep lexical types nor­mally encode complicated constraints that only make sense when they work together with the grammar rules. And some subtle differences be­tween lexical types do not show statistical sig­nificance in a corpus with limited size. So the feedback from later stages of deep processing is very important for predicting the lexical types for the unknown words.</p><p>The partial parsing results break the pipeline model. However, they might help only when the unknown is not the head of the phrase. Other­wise, the full parse crushes into small fragments, and the partial parsing results normally make no sense. An alternative way of breaking the pipeline model is to help the parser to generate full parses in the first place, and let the parsing result tell which lexical entry is good.</p><page local="5" global="28"/><p>Features X is prefix of Wi<i>, \X</i>| &lt; 4 <i>X is </i>suffix of wi, \X\ &lt; 4</p><doubt alpha="46.9" length="32" tooSmall="False" monospace="0.0">U-1=X,ti-2ti-1=XY,ti+\=X,ti+2=XY</doubt><doubt alpha="44.4" length="27" tooSmall="False" monospace="0.0">Wi_2=X,Wi-1=X,Wi+1=X,Wi+2=X</doubt><p><i>LP is </i>the left adjacent most frequent edge of Wi<i>RP </i>is the right adjacent most frequent edge of <i>Wi</i></p><table caption="Table 3: Feature templates used in ME-based prediction model for wordWi(tjis the lexical typeofWj)"></table><p>In order to help the parser to generate a full parse of the sentence, we feed the newly gen­erated lexical entries directly into the parser. Instead of generating only one entry for each occurrence of unknown, we pass on top n most likely lexical entries. With these new entries, the sentence will receive one or more parses (as­suming the sentence is grammatical and covered by the grammar). From the parsing results, a best parse is selected with the disambiguation model, and the corresponding lexical entry is taken as the final result of lexical extension.</p><p>Within this processing model, the incorrect types will be ruled out if they are not compatible with the syntactic context. Also the infrequent readings of the unknown will be dispreferred by the disambiguation model.</p></section><section number="5" title="Experiments"><p>Missing lexical entries can be discovered by lex­icon checking. Precision is the only measure­ment for the lexical type predictor. In this section we will evaluate our models by exper­iments.</p><subsection number="5.1" title="Resources"><p><i>Redwoods </i>(Oepen et al., 2002) is a HPSG tree-bank that records full analyses of sentences with <i>ERG. </i>The genre of texts includes email corre­spondence, travel planning dialogs, etc. The 5th growth of <i>Redwoods </i>contains about 16.5K sen­tences and 122K tokens<footnote anchor="3"/>.</p><p>In all our experiments, we have done a 10­fold cross validation on the <i>Redwoods </i>treebank. For each fold, words that do not occur in the training partition are assumed to be unknown.</p><p>A modified version of the efficient HPSG parser <i>PET </i>(Callmeier, 2000; Callmeier, 2001) has been used to generate the derivation tree fragments of the partial parses.</p><footnote label="3">Sentences without a full analysis are neither counted here nor used in experiments.</footnote><p>We have also modified <i>LexDB </i>(Copestake et al., 2004) in order to be able to add temporal lexical entries that are only active for specific sentence.</p><p>The parse disambiguation model we have used is a maximum entropy based model that uses non-lexicalized features with 2 levels of grandparnets (see (Toutanova et al., 2002) for detailed discussion about parse disambiguation models for HPSG grammars).</p><p>For maximum entropy parameter estimation, we have used (Malouf, 2002)'s <i>MaxEnt </i>package.</p></subsection><subsection number="5.2" title="Results"><p>For comparison, we have built a baseline sys­tem that always assigns a majority type to each unknown according to the POS tag. More speci-ficically, we tag the input sentence with a small</p><p>Penn Treebank-like POS tagset. Then POS tag is mapped to a most popular lexical type for that POS.<footnote anchor="4"/> Table 4 lists part of the mappings.</p><p>Again for comparison, we have built another two simple prediction models with two popular general-purpose POS taggers, <i>TnT </i>and <i>MX-POST. TnT </i>is a HMM-based trigram tagger while <i>MXPOST </i>is maximum entropy based. We have trained the tagging models by using all the leaf lexical types as the tagset. The taggers tag the whole sentence. But only the output tags for the unknowns are taken to generate the lexical entries.</p><footnote label="4">This is similar to the built-in unknown word han­dling mechanism of the PET system.</footnote><table caption="Table 4: Part of the POS tags to lexical types mapping" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>POS</p></td><td class="cell"><p>Majority Lexical Type</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>noun</p></td><td class="cell"><p>n_intr_le</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>verb</p></td><td class="cell"><p>v_np_trans_le</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>adj.</p></td><td class="cell"><p>adj_intrans_le</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>adv.</p></td><td class="cell"><p>adv_int_vpJe</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></tr></table><page local="6" global="29"/><p>The maximum entropy based model is tested both with and without using partial parsing re­sults as features. To incorporate disambigua­tion results, our predictor generates 3 entries for each unknown and store them as temporary entries into the <i>LexDB.</i></p><p>Precisions of the different prediction models are shown in Table 5.</p><p>Model Precision</p><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">Baseline 30.7%</doubt><doubt alpha="37.5" length="8" tooSmall="False" monospace="0.0">TnT40.4%</doubt><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">MXPOST40.2%</doubt><doubt alpha="30.8" length="13" tooSmall="False" monospace="0.0">ME(-pp) 50.0%</doubt><doubt alpha="48.8" length="43" tooSmall="False" monospace="0.0">ME(+pp) 50.5%ME(-pp)+ disambi. result 61.3%</doubt><p>Table 5: Precision of Unknown Word Type Pre­dictors (+/-pp means w or w/o partial parsing result features)</p><p>The baseline model achieves precision around 30%. This means that the task of unknown word type prediction for deep grammars is non­trivial. The general-purpose POS taggers based models perform quite well, outperforming the baseline by 10%. As a confirmation to (El-worthy, 1995)'s claim, a huge tagset does not imply that tagging will be very difficult. Our ME-based model significantly outperforms the taggers-based models by another 10%. This is a strong indication of our model's advantages.</p><p>By incorporating simple syntactic informa­tion into the ME-based model, we get extra pre­cision gain of less than 1%. It is worth notic­ing that the syntactic features we used are still naive. Better syntactic features remain to be ex­plored in future work. Also, by applying partial parsing, the computation complexity increases significantly in comparison to our basic ME-based model.</p><p>By incorporating the disambiguation results, the precision of the model boosts up for another 10%. The computational overhead is propor­tional to the number of candidate entries added for each unknown word. However, in most cases, introducing lexical entries with incorrect types will end up to parsing failure and can be ef­ficiently detected by quick checking. In such cases the slowdown is acceptable.</p><p>In general, we have achieved up to 60% pre­cision of unknown word type prediction for the ERG in these experiments. Given the complex­ity of the grammar and the huge number of possible lexical types, these results are satisfying. Also, in real case of grammar adaptation for new domains, a large portion of unknowns are proper names. This means that the precision might get even higher in real applications. A test with some small text collection with real unknown words <footnote anchor="5"/> shows that the precision can easily go above 80% with the basic ME model without partial parsing features.</p><p>It should also be mentioned that some of these experiments are also carried out for Dutch Alpino Grammar (Bouma et al., 2001), and sim­ilar results are obtained. This shows that our method may be grammar and platform indepen­dent.</p></subsection></section><section number="6" title="Comparison with Related Work"><p>This work is in essence very similar to the work of deep lexical acquisition (DLA) in (Baldwin, 2005). A minor difference is that our model al­ways generates (at least) one lexical entry for the unknown, so that the deep processing does not halt at the very beginning. A more impor­tant difference is that, while (Baldwin, 2005) focuses on generalizing the method of deriving DLA models on various secondary language re­sources, our work focuses more on how to utilize the deep grammar itself as a source for enhanc­ing robustness. The <i>Redwoods Treebank </i>is by nature the output of the deep grammar. And the parsing, as well as the disambiguation mod­els are also part of the grammar that has even­tually contributed to the unknown word type prediction.</p><p>(Erbach, 1990; Barg and Walther, 1998; Fou-vry, 2003) followed a different approach to­wards unknown words processing for unification based grammars. The basic idea was to use the underspecified lexical entries, namely TFSs with fewer constraints, in order to generate full parses for the sentences, and then extract the sub-TFS from the parses as a new lexical en­try. However, lexical entries generated in this way might be both too general and too specific. And underspecified lexical entries with fewer constraints allow more grammar rules to be ap­plied while parsing.  It gets even worse when types.<page local="7" global="30"/></p><footnote label="5">We used a text set named rondane for training and hike for testing. rondane contains 1424 sentences in formal written English about tourism in the norwegian mountain area, with an average sentence length of 16 words; hike contains 320 sentences about outdoor hik­ing in Norway with an average sentence length of 14.3 words. Both contain a lot of unknowns like location names, transliterations, etc.</footnote><p>two unknown words occur next to each other, which might allow almost any constituent to be constructed. Also, the underspecified lexical en­try significantly increases computational com­plexity. (van Schagen and Knott, 2004) took a similar approach of interactive unknown word acquisition in a dialogue context.</p><p>(Thede and Harper, 1997) reported an em­pirical approach towards unknown lexical anal­ysis using morphological and syntactic infor­mation. The approach is similar to ours in spirit. However, the experiments were done for a shallow parser with a very limited number of word classes. The applicability to lexicalist deep grammars with lots of lexical types is unknown.</p><p>In (Malouf and van Noord, 2004), the max­imum entropy models were used for wide cov­erage parsing with the <i>Alpino </i>Dutch grammar (Bouma et al., 2001). But the focus was on parse selection, not unknown words processing.</p><p>Another related work is <i>supertagging </i>(Ban­galore and Joshi, 1999). In supertagging, the lexical items are assigned with rich descriptions (supertags) that impose complex constraints in a local context. Some statistical techniques of assigning supertags to unknown words have been reported. For example, (Bangalore and Joshi, 1999) used a simple method of combin­ing a probability estimate for unknown words <i>P(UKN</i>\T) with a probability estimate based on word features (capitalization, hyphenation, ending of words) by:</p><doubt alpha="55.3" length="38" tooSmall="False" monospace="0.0">P(Wi\Ti)= P(UNK\Ti) * P(w-feat(Wi)\Ti)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p>where <i>UNK</i><i> </i>is a token associated with each su­pertag and its count <i>Njjnk </i>is estimated by:</p><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">PiJJNK™ =imh(3)</doubt><doubt alpha="50.0" length="20" tooSmall="False" monospace="0.0">unk\j)1_p(UNK\T.)v ;</doubt><p><i>N\(Tj</i>) is the number of words that are as­sociated with the supertag Tj that appear in the corpus once. From some aspect, this ap­proach is similar to our work. But our ME-based model allows more general feature repre­sentation. Also the lexical types we used are more general in the sense that both local and non-local constraints are encoded.</p></section><section number="7" title="Conclusion and Future Work"><p>Several statistical unknown word type predic­tion models are implemented and evaluated for deep HPSG grammars. The general-purpose POS taggers based approach delivers satisfying precision. The maximum entropy based predic­tor allows for more general feature representa­tion. By incorporating parse disambiguation re­sults, the unknown word type predictor achieves precision over 60%.</p><p>Although the experiments are carried out with the ERG, the underlying model is general enough to be easily applied on other constraint-based lexicalist grammars, provided the lexical categories can be abstracted by a set of atomic</p><p>Several aspects of this work need further ex­ploration. More sophisticated syntactic features should be investigated. Besides, the deep gram­mar also provides semantic analyses which are not available in shallow processing. The gen­eral feature representation in our model allows the incorporation of this orthogonal dimension of information to enhance the precision of pre­diction. Also, larger corpora in more variety of genres are certain to generate better mod­els. The application of the method to more deep grammars is anticipated.</p></section><references><p>Timothy Baldwin, Emily M. Bender, Dan Flickinger, Ara Kim, and Stephan Oepen. 2004. Road-testing the English Resource Grammar over the British National Corpus. In <i>Proceedings of the Fourth International Conference on Language Resources and Eval­uation (LREC 2004), </i>Lisbon, Portugal.</p><p>Timothy Baldwin. 2005. Bootstrapping deep lexical resources: Resources for courses. In <i>Proceedings of the ACL-SIGLEX Workshop on Deep Lexical Acquisition, </i>pages 67-76, Ann Arbor, Michigan, June. Association for Computational Linguistics.</p><p>Srinivas Bangalore and Aravind K. Joshi. 1999. Supertagging: an approach to almost parsing. <i>Computational Linguistics, </i>25(2):237-265.</p><p>Petra Barg and Markus Walther. 1998. Pro­cessing unkonwn words in HPSG. In <i>Pro­ceedings </i><i>of</i><i> the 36th Conference </i><i>of</i><i> the ACL and the 17th International Conference on Computational Linguistics, </i>Montreal, Que­bec, Canada.</p><p>Gosse Bouma, Gertjan van Noord, and Robert Malouf. 2001. Alpino: Wide-coverage com­putational analysis of dutch. In <i>Computa­tional Linguistics in The Netherlands 2000.</i></p><p>Ulrich   Callmeier,   Andreas   Eisele, Ulrich<page local="8" global="31"/></p><p>Schäfer, and Melanie Siegel. 2004. The deepthought core architecture framework. In <i>Proceedings of LREC 04, </i>Lisbon, Portugal.</p><p>Ulrich Callmeier. 2000. PET - a platform for experimentation with efficient HPSG process­ing techniques. <i>Journal of Natural Language Engineering, </i>6(1):99-108.</p><p>Ulrich Callmeier. 2001. Efficient parsing with large-scale unification grammars. Mas­ter's thesis, Universität des Saarlandes, Saarbrücken, Germany.</p><p>Bob Carpenter. 1992. <i>The Logic of Typed Fea­ture Structures. </i>Cambridge University Press, Cambridge, England.</p><p>Ann Copestake and Dan Flickinger. 2000. An open-source grammar development environ­ment and broad-coverage english grammar using hpsg. In <i>Proceedings ofthe Second con­ference on Language Resources and Evalua­tion (LREC-2000), </i>Athens, Greece.</p><p>Ann Copestake, Fabre Lambeau, Benjamin Waldron, Francis Bond, Dan Flickinger, and Stephan Oepen. 2004. A lexicon module for a grammar development environment. In <i>Proceedings of the 4th International Confer­ence on Language Resources and Evaluation</i> <i>(LREC-2004), </i>Lisbon, Portugal.</p><p>David Elworthy. 1995. Tagset design and in­flected languages. In <i>EACL SIGDAT work­shop "From Texts to Tags: Issues in Multilin­gual Language Analysis", </i>pages 1-10, Dublin, Ireland, April.</p><p>Gregor Erbach. 1990. Syntactic processing of unknown words. IWBS Report 131, IBM, Stuttgart.</p><p>Frederik Fouvry. 2003. Lexicon acquisition with a large-coverage unification-based gram­mar. In <i>Companion to the 10th of EACL, </i>pages 87-90, ACL, Budapest, Hungary.</p><p>Robert Malouf and Gertjan van Noord. 2004. Wide coverage parsing with stochastic at­tribute value grammars. In <i>IJCNLP-04 Workshop: Beyond shallow analyses - For­malisms and statistical modeling for deep analyses.</i></p><p>Robert Malouf. 2002. A comparison of al­gorithms for maximum entropy parameter estimation. In <i>Proceedings of the Sixth Conferencde on Natural Language Learning</i> <i>(CoNLL-2002), </i>pages 49-55.</p><p>Stephan Oepen, Kristina Toutanova, Stu­art Shieber, Christopher Manning, Dan Flickinger, and Thorsten Brants. 2002. The LinGO Redwoods treebank: Motivation and preliminary applications. In <i>Pro­ceedings of COLING 2002: The 17th Inter­national Conference on Computational Lin­guistics: Project Notes, </i>Taipei. Carl J. Pollard and Ivan A. Sag. 1994. <i>Head-Driven Phrase Structure Grammar. </i>Univer­sity of Chicago Press, Chicago, Illinois. Scott M. Thede and Mary Harper. 1997. Analy­sis of unknown lexical items using morpholog­ical and syntactic information with the timit corpus. In <i>Proceedings </i><i>ofthe</i><i> Fifth Workshop on Very Large Corpora, </i>pages 261-272. Kristina Toutanova, Christoper D. Manning, Stuart M. Shieber, Dan Flickinger, and Stephan Oepen. 2002. Parse ranking for a rich HPSG grammar. In <i>Proceedings </i><i>of</i><i> the First Workshop on Treebanks and Linguis­tic Theories (TLT2002), </i>pages 253-263, So-</p><p>zopol, Bulgaria. Maarten van Schagen and Alistair Knott. 2004. Tauira: A tool for acquiring unknown words in a dialogue context. In <i>Proceedings of the 2004 Australasian Language Technology Workshop (ALTW2004), </i>Macquarie Univer­sity, Australia.</p></references></body></article>