<?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="91"/><title>The Spr\aakdata-ML System as Used for SENSEVAL-2</title><author surname="Kokkinakis" givenname="Dimitrios"><org  name="Goteborg University" country="Sweden" city="Goteborg"/></author></firstpageheader><frontmatter><p><b>The Sprâkdata-ML System as Used for SENSEVAL-2</b></p><p><b>Dimitrios KOKKINAKIS</b></p><p>Sprâkdata, Göteborg University Box 200, SE-405 30 Göteborg, Sweden Dimitrios.Kokkinakis @svenska.gu.se</p></frontmatter><abstract>This paper describes the Sprâkdata-ML system as used in the SENSEVAL-2 exercise. The main focus of the paper is devoted to the process of feature extraction, preparation and organization of the test and training data. </abstract></header><body><section title="Introduction"><p>The methodology followed for sense disambiguation of the Swedish data by the Sprâkdata-ML system is supervised, based on Machine Learning (ML) techniques, particularly Memory Based Learning (MBL). The MBL implementation we used originates from the university of Tilburg in a system called TiMBL; details can be found in Daelemans <i>et al </i>(1999). Thus, our main contribution in this task has been the effort to try and isolate a set of features that could maximize the performance of the MBL software. However, it is rather difficult to give the exact number of features and examples required for an adequate description of a word's sense or which algorithm performs best. We think that there is space for improvement of our system's performance by better modeling of the available resources (e.g. context, annotations), choice of parameters and algorithms, a claim that we have not explored to its full potential, further exploration is required. Intelligent example selection for supervised learning is an important issue in ML, an issue that we have not fully explored. In previous experiments for a similar problem for Swedish, the algorithm that performed best in TiMBL was a variant of the <i>k-nearest neighbor </i>(Mitchell, 1997) called IB1, an algorithm that we also used in the exercise; (Kokkinakis &amp; Johansson Kokkinakis, 1999).</p></section><section number="1" title="Data Preparation (Train)"><p>To enhance the lexical disambiguation results using the available resources, we perform pre­processing in both the dictionary and the text to be sense-disambiguated. This is motivated by the fact that by making certain normalizations and simplifications in the resources we (hopefully) contribute to the production of qualitatively better results.</p><p>Initially, a text to be disambiguated is pre-processed by a tokeniser, a sentence boundary identifier, an idiom<footnote anchor="1"/> and multiword identifier, a Name-Entity recogniser<footnote anchor="2"/>, a part-of-speech tagger, a lemmatiser and a semantic tagger<footnote anchor="3"/>. Then, the input texts are transformed to the specified format that the MBL requires, which is feature-vectors of a specific length and content. The vectors we use consist of 102 features, the last two being the <i>id-number </i>and <i>class </i>or <i>sense </i>assigned to the vector. Since we do not know in advance which features will be useful for each particular word and sense, we chose to include features from a number of different information sources.</p></section><section number="2" title="Vector Creation"><p>The vectors consisted of: (i) selected information gathered from the dictionary entries (5 features); (ii) near-context (5 features); (iii) annotations applied on the training corpus (5 features); and (iv) information acquired from the lemmatised training corpus (85 features).<page local="2" global="92"/></p><footnote label="1">The idioms originate from the Gothenburg Lexical Data Base/Semantic Database (GLDB/SDB) ( http://spraakdata.gu.se/lb/gldb.html ) and were used for the recognition and marking of idioms in the test/training corpus (over 4,000 idioms).</footnote><footnote label="2">See http://spraakdata.gu.se/svedk/ne.html for a demo.</footnote><footnote label="3">The semantic tagger originates from work by Kokkinakis et al (2000) and uses the SIMPLE semantic classes for annotation (only nouns).</footnote><p>The corpus instances and dictionary were in XML format. An example of a corpus instance (1) for the first sense of the noun barn 'child' and a fragment of its dictionary description (2) are:</p><p>(1) &lt;instance id="barn.114"&gt;&lt;answer instance="barn. 114" senseid="barn_1 J " /&gt; &lt;context&gt;... försöken sâ att spädbarnen själva künde styra de retningar som de utsattes för under försöket. Inom sprâkforskningen betyder det att &lt;head&gt;barnen&lt;/head&gt; kan pâverka hur olika talljud présenteras. När de far ... &lt;/context&gt; &lt;/instance&gt;</p><p>(2) <b><i>demma-entry </i></b>id="barn_1" form= "barn" pos="n" inflection="~et <b><i>= &gt;&lt;lexeme </i></b>id= "barn_1_1"xdefinition&gt; människa som ej vuxit färdigk/definition&gt; &lt;definition-ext&gt;till kropp och själ; under ngn aldersgräns som beror pâ samman-hanget&lt;/definition-ext&gt; &lt;synt-example&gt;kvinnor och ~ släpptes fria &lt;/synt-examplexsynt-exampie&gt;~ under 6 âr kommer in gratis&lt;/synt-examplexcompound&gt;spädbarn&lt;/compoun <b><i>d&gt;...&lt;cycle </i></b>id=" barn„1_1_a"xtrans&gt;spec. om människa som ej nâtt pubertetsâlder, straff-myndighetsâlder etc.&lt;/transxsynt-example&gt; ännu nâgot âr är hon ett ~&lt;/synt-examplexcompound&gt; barnarbete &lt;/compoundxcompound&gt;barnavärdsnämn d&lt;/compoundx/cyc/e&gt;.. <b><i>.&lt;/lexeme&gt;&lt;lexe me&gt;...&lt;cycle </i></b>id=" barn_1_2_a"&gt; &lt;trans&gt; äv. utvidgat, spec, om foster &lt;/transxsynt-example&gt;hon är med ~ &lt;/synt-examplexvalency&gt;med ~ &lt;/valency&gt; <b><i>&lt;lcycle&gt;.. .&lt;llexeme&gt;&lt;/lemma-entry&gt;</i></b></p><subsection number="2.1" title="Vector Creation (Dictionary)"><p>The modeling of the vectors was performed in stages. The first stage of the processing uses the information from the dictionary. For every sense and sub-sense we extracted five representative nouns from the definition (and the definition extension) by applying part-of-speech tagging, lemmatization and exclusion of a number of <i>generic </i>nouns from a stop-list e.g. människa 'human' (a). If the number of nouns were less than five, we completed the list with compounds (if available).</p><p>Furthermore, the syntactic examples were used as training corpus and were added to the training instances (b). The valency information (if any) was also used in the same way (c). Consequently the amount of training material increased with 1,296 "new" disambiguated instances. A "dummy" <i>XXX </i>instance-number was given in these cases.</p><p>We did not put much effort on a more complex processing of the definitions since these are very short. The representations given below use the dictionary and corpus sample provided in (1) and (2).</p><p>(a) &lt;definition&gt;människa   som   ej vuxit färdigt&lt;/definitionxdefinition-ext&gt;till</p><p>kropp och själ; under ngn aldersgräns som beror pâ sammanhanget &lt;/definition-ext&gt;</p><p>become: bam_1_1: kropp, själ, aldersgräns</p><p>(b) &lt;synt-exampIe&gt;kvinnor och ~ släpptes fria&lt;/synt-examp!e&gt; become: &lt;instance <b>ids</b>'barn.XXX'^ &lt;answer instance=,,barn.XXXH senseid= "barn_1_17&gt; &lt;context&gt; kvinnor och &lt;head&gt;barn&lt;/head&gt; släpptes fria &lt;/contextx/instance&gt; become: instance id="barn.XXX"&gt; &lt;answer instance="barn.XXX" senseid= "barn_1_2_a,7xcontext&gt; med &lt;head&gt;barn &lt;/head&gt; &lt;/contextx/instance&gt;</p><doubt alpha="66.7" length="27" tooSmall="False" monospace="0.0">(c)&lt;valency&gt;med ~&lt;/valency&gt;</doubt></subsection><subsection number="2.2" title="Vector Creation (Near Context)"><p>The second stage involved the use of the near-context. Punctuation, auxiliary verbs and a number of other stop-words were removed and the surrounding tokens (±2) of each headword in the corpus were extracted (d). Only the lemma form of the headwords was used, and the context was not lemmatized:</p><p>(d) instance id="barn.114"&gt;&lt;answer instance=,,barn.114" senseid= "barnJJ" /xcontexb... sprâkforskningen betyder det att &lt;head&gt;barnefh&lt;/head&gt; <b><i>km </i></b>pâverka <b><i>im </i></b>olika ...&lt;/context&gt; &lt;/instance&gt; became: instance id=,,barn.114"&gt; &lt;answer instance="barn.114n senseid=" barn_1_17xcontext&gt;sprâkforskningen betyder &lt;head&gt;barn&lt;/head&gt; pâverka olika &lt;contextx/instance&gt;<page local="3" global="93"/></p></subsection><subsection number="2.3" title="Vector Creation (Global Features)"><p>During the third stage, the training corpus was processed by a name-entity recognizer (e.g. human, time), an idiom identifier (idiom) and a semantic tagger (e.g. Bio, ethnos, phenomenon). The annotations produced by these tools were gathered in the form of a list of labels, and the five most frequent in the respective set of instances for each sense and sub-sense were used in the vectors. For example, for the sense barn_1_1 the five most frequent annotations found in all training instances were: Bio, Organization-Agency, Location, Situ and Occupation-Agent.</p></subsection></section><section number="2" title=".4 Vector Creation (Global Context)"><p>Often, near-context cannot distinguish between different senses. In such cases it is useful to look at a larger context and extract keywords representative for each sense. We made a frequency list of all noun and verb occurrences for all corpus instances for each sense. From the produced lists, 85 keywords per sense were extracted by eliminating high frequency (a word occurred in more than <i>X </i>percent of the cases with the sense) and low frequency words (a word occurred at least Z times in the list). For the sense barn_1_1 the 85 keywords included:</p><p>ansikte, ansvar, apparatur, arm, awikelse, barnmorska, barnomsorg, beredskap, betala, bild, detaij, dialog, djur, docka, erfarenhet, fel, forestalling, förslag,...</p><p>After the collection and combination of the 95 features common to a sense (stages i, iii, iv in Section 2, el), a complete case for a sense was produced (e2):</p><p><b>(el) </b><i>Lemma_SENSE: 5 words from the dictionary information, 5 "semantic" labels, 85 representative words from the global context</i></p><p>(e2) barn_1_1 : kropp, själ, smâbarn, spädbarn, äldersgräns, Bio, Organization-Agency, Location, Situ, Occupation-Agent, ansikte, ansvar, apparatur, arm, awikelse, barnmorska, barnomsorg,...</p><p>We assume then, that for each training instance the above list is "true" and we convert the training instances into vectors of 102 features, where the 95 positions of the features in each vector were substituted with T keeping intact the near context. Thus, the truncated training instance in (f) was re-formatted to (g):</p><p>(f) <b>instance id</b>="barn.114<b>"&gt;&lt;answer instance</b>^'barn<b>-IM'' senseid= </b>"barn J J<footnote anchor="11"/>/xcontexbspràkforskningen betyder <b>&lt;head</b>&gt;barn<b>&lt;/head&gt; </b>pâverka olika <b>&lt;context&gt;&lt;/instance&gt;</b></p><p>(g) sprâkforskningen, betyder<b>,&lt;head</b>&gt;barn <b>&lt;/head&gt;, </b>pâverka, olika, 1,1,1,1,1,1, 1,..., barn.114, barn_l__l.</p></section><section number="3" title="Data Preparation (Test)"><p>The test material consisted of 1,525 corpus instances in the same format as the previous training example, but without any designation of the correct <i>senseid. </i>The material was processed in a similar manner as the training one. The major difference lies in the fact that at the vector-creation stage we used the feature-vectors representative for a sense, example (e) previously, and we compared them with the features produced for each test instance. A feature at a specific position then was assigned T if the feature in the test occurred in the representative feature vector or '0' otherwise. For instance, the test instance in (h) was transformed, after processing, to a 102-feature-vector.</p><p>(h) <b>instance id=,,barn.114,,xanswer instance="barn.114" senseid= "??????n/&gt;&lt;context&gt;l </b>jungfrukammaren innanför köket bodde en kokerska och en husa. [ Ett hus fyllt av minnen ] Huset är fyllt av minnen. I fotoalbumen kan vi se farmor omgiven av sina smâ vitklädda <b>&lt;head</b>&gt;barn<b>&lt;/head&gt; </b>och pappa i sjömanskostym lutad mot en björk. I faiiars svarta, snidade skrivbord ... <b>&lt;/context&gt; &lt;/instance&gt;</b></p><p>The class of the representative sense-vector that produced more Ts for the test instance was chosen as the class of that instance. In (i) there are four Ts which means that the specific test instance had four common features with the representative vector for sense barn_1_2_a, and less than four for all the other representative vectors for the rest of the senses for barn. Thus, the class for the test instance is assigned that sense (which may be altered by the MBL software     during     the nearest-neighbor calculation).<page local="4" global="94"/> Thus, the test instance in (h) was transformed to the format illustrated in (i). The four Ts denote that there were four features in common with the representative vector for barn_1_2_a, the rest of the representative sense-vectors for barn (e.g. barn_1_1_a, barn_1_1_b etc.) had less common features than four, and so barn_1_2_a was chosen:</p><doubt alpha="11.8" length="338" tooSmall="False" monospace="0.0">(i)smà,vitklädda,&lt;head&gt;barn&lt;/head&gt;, pappa,i,0, 0, 0, 0, 0,1,0, 0, 0, 0,0,1,1,1,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0, barn.114, barn_1_2_a</doubt><p>The training and test feature vectors were then fed to the TiMBL software, where the IB1 algorithm (nearest neighbor search) was used.</p></section><section number="4" title="Results"><p>Table 1 shows the evaluation of the test material. Since answers were provided for the whole material, precision and recall obtain the same value. Coarse-grain evaluation was not used, however coarse-grained is considered the least interesting of the three measures.</p><p><b>Conclusion</b></p><p>The existence of sense ambiguity (polysemy and homonymy) is one of the major problems affecting the usefulness of basic corpus exploration tools. In this respect, we regard sense disambiguation as a very important process and component when it is seen in the context of a wider and deeper text-processing architecture. In this paper we have described a simple feature-vector extraction approach to sense disambiguation that was utilized in a MBL software. We do not believe that we have fully exploited the capabilities of either the software or the way we can model the available resources. These issues will be investigated in the future, as well as the evaluation of the sense-tagger on an even larger scale.</p><table caption="Table 1. Official results for the Sprâkdata-ML system" 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></p></td><td class="cell"><p>Instances</p></td><td class="cell"><p>Fine</p></td><td class="cell"><p>Mixed</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Adjectives</p></td><td class="cell"><p>191</p></td><td class="cell"><p>48,2%</p></td><td class="cell"><p>54,4%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Nouns</p></td><td class="cell"><p>616</p></td><td class="cell"><p>71,3%</p></td><td class="cell"><p>74,9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Verbs</p></td><td class="cell"><p>718</p></td><td class="cell"><p>57,8%</p></td><td class="cell"><p>66,1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Most Freq. Baseline</p></td><td class="cell"><p>45,3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Whole Sample</p></td><td class="cell"><p>1,525</p></td><td class="cell"><p><b><i>62,0%</i></b></p></td><td class="cell"><p>68,2%</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></section><references><p>Daelemans W., Zavrel J., van der Sloot K. and van den Bosch A. (1999). <i>TiMBL: Tilburg Memory Based Learner, version 2.0, Reference Guide. </i>ELK Technical Report 99-01, Paper available from: http://ilk.kub.nl/~ilk/papers/ilk9901.ps.gz.</p><p>Kokkinakis D. and Johansson Kokkinakis S. (1999). Sense Tagging at the Cycle-Level Using GLDB. <i>Nordiska Studier i Lexikografi, </i>vol. 27:146-167. Gellerstam M., Jöhannesson K., Ralph B. and Rogström L. (eds). Nordiska Föreningen for Lexikografi &amp; Meijerbergs Institut for Svensk Etymologisk Forskning.</p><p>Kokkinakis D., Toporowska Gronostaj M. and Warmenius K. (2000). Annotating, Disambiguating &amp; Automatically Extending the Coverage of the Swedish SIMPLE Lexicon. <i>Proceedings of the 2nd Languages Resources and Evaluation Conference (LREC), </i>vol. IÏÏ: 1397-1404. Athens, Hellas.</p><p>Mitchell T. M. (1997). <i>Machine Learning. </i>McGraw-Hill Series on Computer Science.</p></references></body></article>