<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:ns2="http://www.tei-c.org/ns/Examples">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title>Automatic Refinement of a POS Tagger Using a Reliable Parser and Plain Text Corpora</title>
            </titleStmt>
        </fileDesc>
    </teiHeader>
    <text>
        <front>
            <div type="abs">
                <head>Abstract</head>
                <p>This paper proposes a new unsupervised learning method for obtaining English part-ofspecch(POS) disambiguation rules which would improve thc accuracy of a POS tagger. This method has been implemented in the experimental system APRAS (Automatic POS Rule Acquisition System), which extracts POS disambiguation rules fl'om plain text corpora by utilizing different types of coded linguistic knowledge, i.e., POS tagging rules and syntactic parsing rules, which arc already stored in a fully implemented MT system. In our ext)eriment , the obtained rules were applied to 1.7% of the sentences in a non-training corpus. For this group of sentences, 78.4% of the changes made in tagging results were an improvement. We also saw a 15.5 % improvement in tagging and parsing speed and an 8.0 % increase of parsable sentences. 1 Introduction Much research has been donc Oll knowledge acquisition fiom large-scalc annotated corpora as a rich source of linguistic knowledge. M~tior works done to create English POS taggers (henceforth, &quot;taggers&quot;), for example, include (Church 1988), (Kupicc 1992), (Brill 1992)and (Voutilaincn et al. 1992). The problem with this framework, however, is that such reliable corpora are hardly awdlable duc to a huge amount of the labor-intensive work required. In case of the acquisition of non-core knowledge, such as specific, lexically or dolnain dependent knowledge, preparation of annotated corpora becomes more serious problem. One viable approach then is to utilize plain text corpora instead, as in (Mikheev 1996). But The method proposed by (Mikheev 1996) has its own weaknesses, in that it is restricted in scope. That is, it aims to acquire rules for unknown words in corpora fi'om their ending characters without looking at the context. In the meantime, (Brill 1995a) (Brill 1995b) proposed a method to</p>
            </div>
        </front>
        <body>
            <div>
                <p>acquire contcxt-dcpendent POS disambiguation rules and created an accurate tagger, even from a very small aunotated text by combining supervised and tmsupcrviscd learning. The wcakness of his method is that the effect of unsupervised learning decreases as the training corpus size increases. The problem in using plain text corpora for knowledge acquisition is that we need a human supervisor who can evaluate and sift the obtained knowledge. An alternative to this would be to use a number of modules of a welldeveloped NLP system which stores most of thc highly reliable general rules. Here, one module fimctions as a supervisor for other modules, since all these modules arc designed to work cooperatively and the knowledgcs tored in each module are correlated. Keeping this idea in mind, we propose a new unsupervised learning method for obtaining linguistic rules fi'om plain text corpora using the existing linguistic knowledge. This method has been implemented in the rule extraction system APRAS (Automatic POS Rule Acquisition System), which automatically acquires rnles for refining the morphological analyzer (taggcr) in our English-Japanese MT system ASTRANSAC (Hirakawa ct al. 1991) through the interaction between the system's tagger and parser on the assumption that they are considerably accurate. This paper is organized as follows: Section 2 illustrates the basic idea of our method; Section 3 gives the outline of APRAS; Sections 4 and 5 describe our experiments. 2 Basic Idea Our MT system has a tagger which can generate ranked POS sequences of input sentences according to their plausibility and also a parser which judges the parsability of the derived POS sequences one by one until a parsable one is found ~ . in our framework, this tagger can be viewed as a POS candidate generator, and the parser as a sifter. Now sentences can be categorized into the following three: (P) a balanced sentence, whose top ranked</p>
                <p>sequence, or initial POS sequence, is</p>
                <p>parsable, (Q) a conflicting sentence, in which the top</p>
                <p>ranked scquencc is unparsable, but there are</p>
                <p>parsable ones in the rest of the sequences;</p>
                <p>and (R) an unparsable sentence, in which all the</p>
                <p>POS sequences are unparsable. Before going on to our main discussion, we will briefly explain the terminology used in this paper. Here we call a highest-ranking parsable POS sequence as the &quot;Most Preferable _PParsable POS sequence,&quot; or simply &quot;MPP POS sequence.&quot; For our purposes, we will make use of balanced sentences and conflicting sentences. We call the POS of a word in the initial POS sequence as its &quot;initially tagged POS&quot; and that in the MPP POS sequence as its &quot;parsable POS.&quot; We call the word whose initially tagged POS and parsable POS differ as a &quot;focus word.&quot; Since the tagger is accurate, we can expect only a few POS differences between the initial and MPP POS sequences for a sentence. Finally, let us call</p>
                <p>Here only top-N POS scquenccs are tried, where N is a pre-defined constant o limit parsing time. the POS's of the preceding and succeeding words as the &quot;POS context of the focus word.&quot; Conflicting sentences, and their initial POS sequences, parsable POS sequences, and focus words can be automatically cxtracted. Through extraction out of a large amount of plain text corpora combined with statistical filtering, it would be possible to automatically select the proper POS conditions that could determine POS's of focus words. Then, we extract &quot;POS Adjusting rules&quot; or &quot;PA rules&quot; defined as below: PA rule: W(IPOS) ---&gt; W(PPOS): C C: Context W :Word IPOS: Initially tagged POS PPOS: Parsable POS</p>
                <p>Means &quot;Give priority to the parsable POS</p>
                <p>over the initially tagged POS in a particular</p>
                <p>context shown as 'C'.&quot; PA rules do not determine POS's of words from their context, but change the judgement made by the tagger in a particular context. Extracted PA rules arc independent rules to the tagger and the parser used in the extraction. At the samc time, these rules are optimized for the tagger and the parser, since they are derived only from conflicting sentences, not from balanced sentences. Hence, the knowledge already coded in the system will not be extracted. I11 the following section, we give the outline of APRAS focusing on its two modules. 3 Outline of APRAS Fig. 1 shows the application of APRAS to an MT system. APRAS works in two phases, a rule extraction phase and a rule application phase. Note that the same tagger and the parser of the MT system are used throughout. I'A rule extraction phase PA rule application phase ---</p>
                <p>qYaining Coqms Mf Systcm ~APP, AS M'I' Systm~ ~ Rule caMidatc</p>
                <p>gctlcralion J \[ GenorationJ \[ Generation \] Figure 1 : Application of APRAS to an MT System In the rule extraction phase, the tagger analyzes each sentence in a training corpus and produces plausible POS sequences. The parser then judges the parsability of each POS sequence. Whenever a conflicting sentence appears, the role generation module outputs the candidates of PA rules. After all PA rule candidates for this training corpus are generated, the rule filtering module statistically weighs the validity of obtained PA rule candidates, and filters out unreliable rules. Sentences in the training corpus are not mmslated in this phase. In the rule application phase, both the already installed POS rulcs and the acquired PA rules are used for tagging. A sentence is parsed and then translated into target language. PA rules basically act to avoid the taggcr's wasteful generation of POS sequences. This would improve the ranking of POS sequences the tagger outputs and also increase the chances that the parser will find a parsable or better POS sequence in the improved ranking. 3.1 Rule Generation Module PA rule candidates are generated fronl conflicting sentences. Balanced and unparsable sentences generate no PA rule candidate. The words in balanced sentences arc recorded along with their POS's and POS contexts to be used in the rule filtering module. Whenever the system enconllters a conflicting sentence in a training corpus, the system compares the initial POS sequence with the MPP POS sequence of the scntcncc and picks up focus words. Then, for every focus word, the system generates a PA rule candidate which consists of a focus word, its initially tagged POS, parsable POS, and the POS context, i.e., the preceding POS's and the succeeding POS's. t:ig. 2 illustrates how a PA rulc candidate is generated. The focus word is 'rank', its initially tagged POS is &quot;(verb)', its parsable POS is &quot;(noun)', and the POS context is &quot;(verb)(determiner)-$-'in'-(dcterminer)&quot;, where &quot;$' denotes the focus word. The POS context is composed of preceding two POS's and succeeding two POS's. ttere surface words can be used instead of POS, like &quot;in' in the example. The generated PA rule candidate can be read as: If the word 'rank' appears in a POS context &quot;(verb)-(determiner)-$-'in'-(determiner)&quot;, then give priority to &quot;(noun)' over &quot;(verb)'. In this rule generation module, two important factors should be taken into account: namely, context size and levels of abstraction. If we expand the context of a focus word, the PA rule should gain accuracy. But its frequency in the training corpus would drop, thereby making it difficult to perform statistical filtering. To ensure statistical reliability, we need a largeInput sentence • • • n\]ove</p>
                <p>(Focus word) 1 ,, ,, I the ', rank ', in I I I POS tagger output ,, ', I</p>
                <p>,, the', ... I Parser output Initial POS sequence o ° ° . , ° MPP POS sequence PA rule candidate: Initially tagged POS Parsable POS POS context Figure 2: PA Rule Candidate Generation sized training corpus. At present we set the context size to be two words. In choosing adequate levels of abstraction or specification of POS in the context, we grouped together those POS tags which influence the choice of POS of a focus word in a similar lnanner as one super-POS tag, as in (Haruno &amp; Matsumoto 1997). We also changed some POS tags for functional words like prepositions and words such as &quot;be' and &quot;have' to tags which denote their literal forms, because the choice of POS of a focus word is highly dependent on the word itsclf. As a result, we obtained 513 POS tags including 16 POS tags for nouns, 17 for verbs, 410 for prepositions and phrasal prepositions, and 70 for adjectives and adverbs.</p>
            </div>
            <note n="313" place="below"></note>
            <div1>
                <head xml:id="sec3.2">Rule Filtering Module</head>
                <p>This section deals with how to statistically filter out inappropriate rules from the generated PA rule candidates. For this purpose, we introduce what we call &quot;adjustment ratios.&quot; Table 1 shows the parsing process of a sentence in which word W appears in POS context C: P1P2-$-P3-P4. In this context, the word W has two possible POS's, X and Y. Case A shows the case of balanced sentences where the tagger first tagged W with X and the parser found it parsable. Case B shows the case of conflicting sentences where the tagger first tagged W with 316 Q O 4 V Q • J , ° ° det o ° ° ° o , det vti , ° ° ° , , in ° ° ° • ° ° D O g V in det ° o ° . ° , det ... ... unparsable ° ° ° unparsable parsable PA rule generation rank(verb) -+ rank(norm) : (verb)-(determiner)-$-'in'-(determiner) unparsable X and then with Y which proved to be parsable 2. Let N,, and Nb be the number of semcnces in cases A and B, respectively. Assume the parser is accurate enough to be able to judge a majority of sentences with correct POS contexts to be parsable 3, and those with incorrect POS unparsable. Table 1 : Transition of POS of W in Parsing Process for Context C</p>
                <p>POSw, cX I A POSI~cX ---&gt; POS,~cY B Then, adjustment ratios can be fornmlated as follows : 2 Here only two possibilities, namely X and Y, arc considered. However it is easy to generalize the transition process for cases where focus words have more than two POS candidates. 3 The accuracy of POS sequences accepted by our parser is more than 99% (Yoshimura 1995). 4 Financial Times(1992-1994, approx. 210,000 documents) in NIST Standard Reference Data TREC Document Database: Disk4 (Special No. 22), National Institute of Standards and Technology, U.S. Department of Commerce (http://www.nist.gov/srd). To verify the validity of adjustment ratio-based rule selection method described ill Section 3.2, we examined some of the obtained PA rules whose frequencies are 10, 20, and 30, referring to the original sentences froln which they were generated, and classified the rules into the following three categories. (p) Valid: applicable to any sentence. (O)lnvalid: inapplicable to every sentence.</p>
                <p>This type of rule is derived when an</p>
                <p>incorrect POS sequence was judged to be</p>
                <p>parsable, due to a lack of coverage of</p>
                <p>parsing rules in the parser. (R) Undecidable: The derived rule is neither</p>
                <p>valid nor invalid, either because the POS</p>
                <p>context or POS specifications are</p>
                <p>insufficient o uniquely determine the POS</p>
                <p>of the focus word, or because both the</p>
                <p>initially tagged POS and the parsable POS</p>
                <p>are inadequate for the POS context. An example of (3) is:</p>
                <p>trading(preseut particle) ---&gt; trading(noun):</p>
                <p>(noun)-'oP-$-(dcterminer)-(noun) The word &quot;trading&quot; is a prcscnt pallicle in sentences like &quot;.. index features represent amore convenient and liquid way of trading all index basket than ...,&quot; while it is a noun ill selltcnecs like &quot;By the close of trading the deal was quoted at 99.82 bid.&quot; Table 2 shows the result of the classification. As is clear in the table, for adjustmcnt ratios bclow 30 %, there arc more invalid rules than valid rulcs, and for adjustment ratios above 30 %, the adjustment ratio,:.lc (X --&gt; Y ) - N b N, +N h When the value is high, the tagger should changc the POS from X to Y, whereas when the value is low, the tagger should not changc the POS in the given context. Thus, based on the statistics of an accurate parscr's judgement, adjustment ratios can be a criterion for the validity of PA rules. The rules whose adjustment ratios are above the threshold are extracted and output as PA rules. The threshold is fixed by examining PA rule candidates as will be lnentioned in the next section. More importantly, PA rules are considered to be &quot;optimized' to the parser. First, the selection and application of inappropriate PA rules do not ilnmcdiately deteriorate the parser output, since PA rules only serve to eliminate wasteful generation of POS sentences. Second, the existence of inappropriate PA rulcs eventually shortens the processing time for those sentences for which the parser produces an errorneous yntactic structure due to a lack of syntactic knowledge.</p>
            </div1>
            <note n="11" place="below"></note>
            <note n="6" place="below">• O</note>
            <note n="*" place="below">* ° * * *</note>
            <div1>
                <head xml:id="sec4">Rule Extraction Experiment</head>
                <p>We applied the method described in Section 3.2 to English news articles (6,684,848 sentences, 530MB) 4 as a training corpus and obtained 300,438 different PA rule candidates. Since rules with low ficquencics do not have reliable adjustment ratios, we omitted rules with a frequency below 6 and thus obtained 17,731 rules. Table 2: Adjustment Ratios and the Validity of Extracted</p>
                <p>Rules Adjustment I Total Valid</p>
                <p>ratio(%)</p>
                <p>0-9 10-19 20-29 30-39 40-49 50-59 60-69 70-79 80-89 90-99</p>
                <p>100 total (%) Invalid</p>
                <p>(0)</p>
                <p>(12)</p>
                <p>(17)</p>
                <p>(50)</p>
                <p>(67)</p>
                <p>(47) (1oo)</p>
                <p>(88)</p>
                <p>(94)</p>
                <p>(78)</p>
                <p>(79) I 2O 25 24 16 15 15 15 17 16 18 29</p>
                <div2>
                    <head xml:id="sec21ol"></head>
                    <p>0</p>
                    <p>3</p>
                    <p>4</p>
                    <p>8</p>
                    <p>10</p>
                    <p>7</p>
                    <p>15</p>
                    <p>15</p>
                    <p>15</p>
                    <p>14 23 114 19 17 10 2</p>
                    <p>1 4</p>
                    <p>o</p>
                    <p>1</p>
                    <p>1</p>
                    <p>3</p>
                    <p>2 60 (%) Undccid (95) (68) (42) (13)</p>
                    <p>(7) (27)</p>
                    <p>(o)</p>
                    <p>(6)</p>
                    <p>(6) (17)</p>
                    <p>(7) -able</p>
                    <p>1 5 10 6 4 4 0</p>
                    <p>1 0</p>
                    <p>1 4 36 converse is true. The percentage of invalid rules is small above 60 %. These results prove the validity of our adjustment ratio-based rule selection framework. By setting the threshold to 60%, we can extract in an unsupervised manner PA rules of which 86% are valid and 7% invalid, but the presence of such invalid PA rules are unlikely to cause a serious deterioration, as mentioned previously. Incidentally, rules whose adjustment ratio is below 30 % could be used as prohibition rules to be applied in the given POS contexts. These rules are not used in the next experiment. Thus, we eliminated the extracted 17,731 rules whose adjustment ratio are below 60% and obtained 4,494 rules such as : group(V) --~ group(N):</p>
                    <p>(ADV)-(N)-$-(NAME)-(CC) report(N) ---&gt; report(V):</p>
                    <p>(ADV)-','-$ -(NAME)-(NAME) related(VP) ---&gt; related(PP) :</p>
                    <p>(NAME)-(CC)-$-(N)-(PNC) open(V) --&gt; open(ADJ) :</p>
                    <p>(N)-','-$-(N)-',' further(V) --;, further(ADV) :</p>
                    <p>'to'-(V)-$-(NU)-(DEM) where ADJ=adjective, ADV=adverb, CC=coordinate conjuction, DET=determiner, DEM=demonstrative, NAMEP=place name, N=noun, NAME=proper noun, NT=noun meaning &quot;time&quot;, NU=noun meaning &quot;unit&quot;, PP=past particle, PNC=punctuation mark other than commas, V=verb (other than past form), VP=verb (past form). 5 Rule Application Experiment By using PA rules, we can expect hat: ( P) the process time would be reduced by</p>
                    <p>obtaining a parsable POS sequence at an</p>
                    <p>earlier stage, and (O) both tagging precision and parsing accuracy</p>
                    <p>would improve. To prove the above statements, we applied the 3,921 PA rules 5 extracted in the previous experiment for tagging entirely different English news articles (146,229 sentences; 2.26M Words ) from the training corpus. Among them, 2,421 sentences (1.7%) or 2,476 words (0.11%) satisfied the conditions of these PA rules, which were then tagged and parsed with and without the PA rules. We measured the difference in the elapsed time 6 and the number 5 Out of 4,494, 573 rules have been eliminated in this experiment. These cases involved distinction between compound words (cx. &quot;that is'(adverb)) and noncompound words (ex. &quot;that(pronoun)+is(vex'b)'). This accompanies changes in the window of context, which requires further esearch. 6 The elapsed time is measured on WorkStation SUN counted of successfully parsed sentences. The result is shown in Table 3. The tagging time was extended by 11.5%, but the parsing time and the total processing time were reduced by 24% and 15.5%, respectively, while the ratio of successfully parsed sentences improved by 8.0%. We also examined 524 POS differences out of all the resulting differences in the tagger's outputs made by the PA rules, and obtained the following figures. - Improved: 411 (78.4%) - Worse: 84 (16.0%) - Neither improved nor worse 29 (5.5%) Out of the 84 worsened cases, 43 were due to invalid rules acquired through wrong parsing because of a lack of sufficient parsing rules. There are highly fiequent expressions characteristic of financial reports which our parser cannot parse. However, again, this kind of invalid rules would not make a significant difference in the final output of the parser. The remaining 32 cases were due to learning fi'om wrongly segmented sets of words and also fiom distinct header expressions like &quot;FT 14 MAY 91 / World News in Brief&quot;. These errors can be easily eliminated by not learning from these data. Adopting the rule accuracy obtained fiom the above examination, we can expect 62.4% (78.4% - 16.0%) improvement for words with PA-rule applied. Since PA-mles are applied to 0.11% of the words in corpus, 0.07% improvement of POS tagging is expected. Wc measured the tagging precision with and without the acquired PA rules for a test corpus containging 5,630 words, and observed that the precision rose to 98.65% fi'om the initial 98.60%, i.e. 0.05% improvement. Since PA rules are lexically based rules, the ratio of sentences which satisfied the rule conditions is rather low, but the number of those sentences would increase in proportion to the number of PA rules acquired. If we expand the size of a training corpus, we could obtain much more PA rules. In fact, we observed many valid rules in the eliminated PA rule candidates whose frequency is immediately Ultra U 1E/200. Table 3 : Processing Time and Parsable Sentence Ratio Without PA rules</p>
                    <p>79.40</p>
                    <p>252.17</p>
                    <p>331.57</p>
                    <p>64.0% below the threshold. Since the observed frequency distribution of PA rules was exponential, we can expect PA rules would increase exponentially by expanding the size of a training corpus. This expansion also enables us to specify POS Tagging time(sec.) Parsing time(sec.) Total processing time(sec.) Parsable sentence ratio</p>
                    <p>With PA rules 88.49(+9.09, +11.5%) 191.73(-60.44, -24.0%) 280.22(-51.35, - 15.5%)</p>
                    <p>72.0% context in detail, like widening the context window, subcategorizing POS tags employed in context, assigning onc surface fimctional word to a lexical tag, etc. To make detailed classification fully effective, we will need to generalize specific rules to the level that reflects the maximum distinction of individual examples. 6 Conclusion In this paper we presented a new approach to acquiring linguistic knowledge automatically from plain text corpora, and proved its feasibility by the experiment. Our method utilizes well-developed modules in a NLP system, including a tagger and a parser, and enables us to extract wflid rules with high accuracy. It is robust in that the application of the extracted incorrect knowledge does not cause a serious performance deterioration. As a first step to obtaining lexically dependent knowledge, we examined the validity of obtained POS rules to measure the viability of our unsupervised learning method fi'om plain text corpora. In the future we will expand the size of training corpora and make use of invalid PA rules with a low adjustment ratio. References Brill, Eric. 1992: A Shlq)le Rule-Based Part of</p>
                    <p>Speech Tagger, in Proceedings of the Third</p>
                    <p>Conference on Applied Natural Language</p>
                    <p>Processing, pp. 152-155. Brill, Eric. 1995a: 7)'an.y/brmation-Based Error-</p>
                    <p>Driven Learning and Natural Language</p>
                    <p>PJvcexsing: A Case Study in Part-oJ'-Speech</p>
                    <p>Tagging, in Computational Linguistics, Volume 21,</p>
                    <p>Number 4. Brill, Eric. 1995b: Unmq~ervised Learning of</p>
                    <p>DLs'ambiguation Rules Jbr Part of Speech Tagging,</p>
                    <p>Workshop on Very Large Corpora. Church, Kenneth. 1988: A Stochastic Parts Program</p>
                    <p>and Noun Phrase Parser Jbr Um'estricted Text, in</p>
                    <p>Proceedings of the Second Conference on Applied</p>
                    <p>Natural Language Processing, Austin, Texas,</p>
                    <p>pp.126-143. Haruno, Masahiko and Yuji Matsumoto. 1997:</p>
                    <p>Mistalce-Driven Mixtm'e of HielzHvhical Tag</p>
                    <p>Context Trees, in Proceedings of the 35th Annual</p>
                    <p>Meeting of the Association of Compntational</p>
                    <p>Linguistics, Madrid, Spain. llirakawa, tlideki, Hiroyasu Nogami and Shin'ya</p>
                    <p>Amano. 1991 :E.I/.IE Machine TranslatioJl System</p>
                    <p>ASTRANSAC-Extensions toward l'crsonalization,</p>
                    <p>in Proceedings of MT SUMMIT-Ill, Washington,</p>
                    <p>D.C., 1991, pp.73-80. Kupicc, Julian. 1992: Robust Part-of Speech Tagging</p>
                    <p>Using a llidden Markov Model, Computer Speech</p>
                    <p>&amp; Language, 6(3), pp.225-242. Mikhecv, Andrei. 1996: Unsupervived Lcarnit~g qf</p>
                    <p>Word-Categow Guessit N Rules, in Proceedings of</p>
                    <p>the 34th Annual Meeting of the Association of</p>
                    <p>Computational Linguistics, Santa Cruz, California. Voutilainen, Atro, Juha tteikkilfi and Arto Anttila.</p>
                    <p>1992: CONSTRAINT GRAMMAR OF ENGLISII -</p>
                    <p>A PelJbrmance-Oriented Intlwduction, Publications</p>
                    <p>of the Department of General Linguistics,</p>
                    <p>University of Helsinki, No.21. Yoshimura, Yumiko. 1995: Selection of Englis'h</p>
                    <p>Part-of Speech Strings Uxing Syntactic Analysis</p>
                    <p>hTJbrmation, in Proceedings of the 50th Annual</p>
                    <p>Convention of IPS Japan, 3-65, March (in</p>
                    <p>Japanese).</p>
                </div2>
            </div1>
            <note n="318" place="below"></note>
        </body>
        <back/>
    </text>
</TEI>
