<?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="151"/><title>WASP-Bench: a Lexicographic Tool Supporting Word Sense Disambiguation</title><author surname="Tugwell" givenname="David"><org  name="University of Bari" country="Italy" city="Bari"/></author><author surname="Kilgarriff" givenname="Adam"><org  name="University of Brighton" country="United Kingdom" city="Brighton"/></author></firstpageheader><frontmatter><p>WASP-Bench: a Lexicographic Tool Supporting Word Sense</p><p>Disambiguation</p><p><b>David Tugwell &amp; Adam Kilgarriff</b></p><p>ITRI, University of Brighton Lewes Road, Brighton BN2 4GJ, UK {David.Tugwell,Adam.Kilgarriff}@itri.bton.ac.uk</p></frontmatter><abstract>We present WASP-Bench: a novel approach to Word Sense Disambiguation, also providing a semi-automatic environment for a lexicographer to compose dictionary entries based on corpus evidence. For WSD, involving lexicographers tackles the twin obstacles to high accuracy: paucity of training data and insufficiently ex­plicit dictionaries. For lexicographers, the com­putational environment fills the need for a cor­pus workbench which supports WSD. Results under simulated lexicographic use on the En­glish lexical-sample task show precision compa­rable with supervised systems<footnote anchor="1"/>, without using the laboriously-prepared training data. </abstract></header><body><section number="1" title="Introduction"><p>WASP-Bench<footnote anchor="2"/> is a web-based tool support­ing both corpus-based lexicography and Word Sense Disambiguation. The central premise be­hind the initiative is that deciding what the senses for a word are, and developing a WSD program for it, should be tightly coupled. In the course of the corpus analysis, the lexicographer explores the textual clues that indicate a word is being used in one sense or another; given an appropriate computational environment, these clues can be gathered and used to seed a boot­strapping WSD program.</p><p>This strategy clearly requires human input for each word to be disambiguated, which may raise</p><p>lIt should be noted that the lower figure for recall reflects solely the fact that not all words were attempted due to time constraints.</p><footnote label="2">The system has been developed under EP-SRC project M54971. A demo is available at http://wasps.itri.bton.ac.uk . The second author was also a co-ordinator for the senseval -2 evaluation exercise-to limit any conflict of interest only the first author was in­volved applying the system to the senseval -2 task, and had no prior knowledge of the format of the task.</footnote><p>the objection that the lexicon is far too large for any word-by-word work to be viable. How­ever, the amount of human interaction needed is far less than that involved in preparing train­ing data<footnote anchor="3"/> and lexicographers are already in the position of having to inspect every word in the vocabulary. If they use a interactive tool such as the WASP-Bench to help them in this, then total coverage becomes a feasible proposition.</p></section><section number="2" title="WASP-Bench Methodology"><p>The workbench is implemented in perl and uses cgi-scripts and a browser for user interaction.</p><subsection number="2.1" title="Grammatical relations database"><p>The central resource is a collection of all gram­matical relations holding between words in the corpus. The corpus currently used in WASP-Bench is the British National Corpus<footnote anchor="4"/> (BNC): . Using finite-state techniques operating over part-of-speech tags, we process the whole cor­pus finding quintuples of the form: <b>{Rel, Wl, W2, Prep, Position}, </b>where <b>Rel </b>is a relation, <b>Wl </b>is the lemma of the word for which <b>Rel </b>holds, <b>W2 </b>is the lemma of the other open-class word involved, <b>Prep </b>is the preposition or parti­cle involved and <b>Position </b>is the position of <b>Wl </b>in the corpus. Relations may have null values for <b>W2 </b>and <b>Prep. </b>The database contains 70 million quintuples.</p><p>The current inventory of relations is shown in Table 1. All inverse relations, ie. <b>subject-of </b>etc, found by taking W2 as the head word in­stead of Wl are explicitly represented, to give a total of twenty-six distinct relations. These pro­vide a flexible resource to be used as the basis of the computations of the workbench. Keeping the position numbers of examples allows us to find associations between relations and to dis­play examples.<page local="2" global="152"/></p><footnote label="3">See results section for details.</footnote><footnote label="4">100 million words of contemporary British English, see http://info.ox.ac.uk/bnc</footnote></subsection><subsection number="2.2" title="Word Sketches"><p>The user enters the word and using the gram­matical relations database, the system com­poses a <b>word sketch </b>for this word. This is a page of data such as Table 2, which shows, for the word in question (Wl), ordered lists of high-salience grammatical relations, relation-W2 pairs, and relation-W2-Prep triples for the word.</p><p>The number of patterns shown is set by the user, but will typically be over 200. These are listed for each relation in order of salience, with the count of corpus instances. The instances can be instantly retrieved and shown in a con­cordance window. Producing a word sketch for a medium-to-high frequency word takes in the order of ten seconds.</p><p>Salience is calculated as the product of Mu­tual Information <i>I </i>(Church and Hanks, 1989) and log frequency. I for a word <i>W</i>1 in a gram­matical relation <i>Rel<footnote anchor="5"/> </i>with a second word <i>W2</i><i> </i>is calculated as:</p><footnote label="5">{Grammatical-relation, preposition} pairs are treated as atomic relations in calculating ML</footnote><p>The notation here is adopted from (Lin, 1998) (who also spells out the derivation from the definition of J). <i>\\Wl, Rel,W2\\ </i>denotes the frequency count of the triple <i>{Wl,</i><i> Rel, </i><i>W2}<footnote anchor="6"/></i><i></i>in the grammatical relations database. Where <i>Wl,</i><i> Rel </i>or <i>W2</i><i> </i>is the wild card (*), the fre­quency is of all the dependency triples that match the remainder of the pattern.</p><p>The word sketches are presented to the user as a list of relations, with items in each list or­dered according to salience. Our experience of working lexicographers' use of Mutual Informa­tion or log-likelihood lists shows that, for lex­icographic purposes, these over-emphasise low frequency items, and that multiplying by log frequency is an appropriate adjustment.</p></subsection><subsection number="2.3" title="Matching patterns with senses"><p>The next task is to enter a preliminary list of senses for the word, possibly in the form of some arbitrary mnemonics: for example, MONEY, CLOUD and RIVER for three senses of <i>bank.<footnote anchor="7"/> </i>This inventory may be drawn from the user's knowledge, from a perusal of the word sketch, or from a pre-existing dictionary entry.</p><p>As Table 2 shows, and in keeping with "one sense per collocation" (Yarowsky, 1993) in most cases, high-salience patterns or <b>clues </b>indicate just one of the word's senses. The user then has the task of associating, by selecting from a pop-up menu, the required sense for unam­biguous clues. The number of relations marked will depend on the time available, as well as the complexity of the sense division to be made. The act of assigning senses to patterns may very well lead the user to discover fresh, unconsid­ered senses usages of the word.</p><p>The pattern-sense associations are then sub­mitted to the next stage: automatic disam­biguation.</p></subsection><subsection number="2.4" title="The Disambiguation Algorithm"><p>The workbench currently uses Yarowsky's de­cision list approach to WSD (Yarowsky, 1995). This is a bootstrapping algorithm that, given some initial seeding, iteratively divides the corpus examples into the different senses.<page local="3" global="153"/> Yarowsky notes that the most effective ini­tial seeding option he considered was labelling salient corpus collocates with different senses. The user's first interaction with the workbench is just this.</p><footnote label="6">Or, strictly, of the quintuple {Wl,Rel — part — 1, W2, Rel - part - 2, ANY}.</footnote><footnote label="7">WASP-Bench can also be used for Machine Transla­tion lexicography, where arbitrary mnemonics would be replaced by target language translations.</footnote><table caption="Table 1: Grammatical Relations" 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>relation</p></td><td class="cell"><p>example</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>bare-noun</p></td><td class="cell"><p>the angle of <b>bank<footnote anchor="1"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>possessive</p></td><td class="cell"><p>my <b>bank<footnote anchor="1"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>plural</p></td><td class="cell"><p>the <b>banks<footnote anchor="1"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>passive</p></td><td class="cell"><p>was <b>seen<footnote anchor="1"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>reflexive</p></td><td class="cell"><p><b>see<footnote anchor="1"/> </b>herself</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ing-comp</p></td><td class="cell"><p><b>love<footnote anchor="1"/> </b>eating fish</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>finite-comp</p></td><td class="cell"><p><b>know<footnote anchor="1"/> </b>he came</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>inf-comp</p></td><td class="cell"><p><b>decision<footnote anchor="1"/> </b>to eat fish</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>wh-comp</p></td><td class="cell"><p><b>know<footnote anchor="1"/> </b>why he came</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>subject</p></td><td class="cell"><p>the <b>bank<footnote anchor="2"/> refused<footnote anchor="1"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>object</p></td><td class="cell"><p><b>climb<footnote anchor="1"/> </b>the <b>bank<footnote anchor="2"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>adj-comp</p></td><td class="cell"><p><b>grow<footnote anchor="1"/> certain<footnote anchor="2"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>noun-modifier</p></td><td class="cell"><p><b>merchant<footnote anchor="2"/> bank<footnote anchor="1"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>modifier</p></td><td class="cell"><p>a <b>big<footnote anchor="2"/> bank<footnote anchor="1"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>and-or</p></td><td class="cell"><p><b>banks<footnote anchor="1"/> </b>and <b>mounds<footnote anchor="2"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>predicate</p></td><td class="cell"><p><b>banks<footnote anchor="1"/> </b>are <b>barriers<footnote anchor="2"/></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>particle</p></td><td class="cell"><p><b>grow<footnote anchor="1"/> upp</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>P rep-f gerund</p></td><td class="cell"><p><b>tired<footnote anchor="1"/> oP </b>eating fish</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PP-comp/mod</p></td><td class="cell"><p><b>banks<footnote anchor="1"/> </b><i>oP </i>the <b>river<footnote anchor="2"/></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></tr></table><p>At the user-input stage, only clues involving grammatical relations are used. At the WSD al­gorithm stage, some "bag-of-words" and n-gram clues are also considered. Any content word (lemmatised) occurring within a A:-word window of the nodeword is a bag-of-words clue.<footnote anchor="8"/> <i>N-</i>gram clues capture local context which may not be covered by any grammatical relation. The n-gram clues are all bigrams and trigrams in­cluding the nodeword. iV-grams and context-word clues frequently duplicate the grammati­cal relations already found, but the merit of the decision list approach is that probabilities are not combined, so such dependencies are not a problem.</p></subsection><subsection number="2.5" title="Sense Profiles"><p>The output of the algorithm is both a sense dis­ambiguated corpus, and a decision list. The de­cision list can be viewed as a lexical entry or as a WSD program. It will contain {Rel, W2} pairs (as in the original word sketch), bag-of-words words, and n-grams. The components of the decision list which assign to a particular sense can be displayed as "sense profiles", in a manner comparable to the original word sketch. They will contain new clues, not originally seen in the word sketch and may point to new senses or usages needing addition to the lexical entry Users can then re-run the WSD algorithm, it­erating until they are satisfied with the sense inventory, and with the accuracy of the disam­biguation performed.</p><footnote label="8">The user can set the value of k. The default is cur­rently 30.</footnote></subsection></section><section number="3" title="Evaluating the workbench"><subsection number="3.1" title="Lexicographic evaluation"><p>For the last two years, a set of 6000 word sketches has been used in a large dictio­nary project (Rundell, 2002), with a team of thirty professional lexicographers covering ev­ery medium-to-high frequency noun, verb and adjective of English. The feedback received is that they are hugely useful, and transform the way the lexicographer uses the corpus. They radically reduce the amount of time the lex­icographers need to spend reading individual instances, and give the dictionary improved claims to completeness, as common patterns are far less likely to be missed.</p></subsection><subsection number="3.2" title="Results for senseval-2"><p>Performance as a WSD system was evaluated on the SENSEVAL-2 English lexical sample exercise.</p><p>The words to be tested were divided between the first author and one paid volunteer, who had no previous experience of WASP-Bench. We carried out the procedure as above, with the difference that instead of having to establish a sense inventory, the inventory was already given as that of WordNet. After assigning sufficient clues to cover the various senses, these assign­ments were submitted as seeds to the disam­biguation algorithm. Using the example sen­tences from the BNC this gave us a decision list of clues, which could then be used to disam­biguate the test sentences.</p><table caption="Table 2: Extract of word sketch forbank" 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><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>subj-of</b></p></td><td class="cell"><p>num</p></td><td class="cell"><p>sal</p></td><td class="cell"><p><b>obj-of</b></p></td><td class="cell"><p>num</p></td><td class="cell"><p>sal</p></td><td class="cell"><p><b>modifier</b></p></td><td class="cell"><p>num</p></td><td class="cell"><p>sal</p></td><td class="cell"><p><b>n-mod</b></p></td><td class="cell"><p>num</p></td><td class="cell"><p>sal</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>lend</p></td><td class="cell"><p>95</p></td><td class="cell"><p>21.2</p></td><td class="cell"><p>burst</p></td><td class="cell"><p>27</p></td><td class="cell"><p>16.4</p></td><td class="cell"><p>central</p></td><td class="cell"><p>755</p></td><td class="cell"><p>25.5</p></td><td class="cell"><p>merchant</p></td><td class="cell"><p>213</p></td><td class="cell"><p>29.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>issue</p></td><td class="cell"><p>60</p></td><td class="cell"><p>11.8</p></td><td class="cell"><p>rob</p></td><td class="cell"><p>31</p></td><td class="cell"><p>15.3</p></td><td class="cell"><p>Swiss</p></td><td class="cell"><p>87</p></td><td class="cell"><p>18.7</p></td><td class="cell"><p>clearing</p></td><td class="cell"><p>127</p></td><td class="cell"><p>27.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>charge</p></td><td class="cell"><p>29</p></td><td class="cell"><p>9.5</p></td><td class="cell"><p>overflow</p></td><td class="cell"><p>7</p></td><td class="cell"><p>10.2</p></td><td class="cell"><p>commercial</p></td><td class="cell"><p>231</p></td><td class="cell"><p>18.6</p></td><td class="cell"><p>river</p></td><td class="cell"><p>217</p></td><td class="cell"><p>25.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>operate</p></td><td class="cell"><p>45</p></td><td class="cell"><p>8.9</p></td><td class="cell"><p>line</p></td><td class="cell"><p>13</p></td><td class="cell"><p>8.4</p></td><td class="cell"><p>grassy</p></td><td class="cell"><p>42</p></td><td class="cell"><p>18.5</p></td><td class="cell"><p>creditor</p></td><td class="cell"><p>52</p></td><td class="cell"><p>22.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>modifies</b></p></td><td class="cell"><p><b>PP</b></p></td><td class="cell"><p><b>inv-PP</b></p></td><td class="cell"><p><b>and-or</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>holiday</p></td><td class="cell"><p>404</p></td><td class="cell"><p>32.6</p></td><td class="cell"><p>of England</p></td><td class="cell"><p>988</p></td><td class="cell"><p>37.5</p></td><td class="cell"><p>governor of</p></td><td class="cell"><p>108</p></td><td class="cell"><p>26.2</p></td><td class="cell"><p>society</p></td><td class="cell"><p>287</p></td><td class="cell"><p>24.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>account</p></td><td class="cell"><p>503</p></td><td class="cell"><p>32.0</p></td><td class="cell"><p>of Scotland</p></td><td class="cell"><p>242</p></td><td class="cell"><p>26.9</p></td><td class="cell"><p>balance at</p></td><td class="cell"><p>25</p></td><td class="cell"><p>20.2</p></td><td class="cell"><p>bank</p></td><td class="cell"><p>107</p></td><td class="cell"><p>17.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>loan</p></td><td class="cell"><p>108</p></td><td class="cell"><p>27.5</p></td><td class="cell"><p>of river</p></td><td class="cell"><p>111</p></td><td class="cell"><p>22.1</p></td><td class="cell"><p>borrow from</p></td><td class="cell"><p>42</p></td><td class="cell"><p>19.1</p></td><td class="cell"><p>institution</p></td><td class="cell"><p>82</p></td><td class="cell"><p>16.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>lending</p></td><td class="cell"><p>68</p></td><td class="cell"><p>26.1</p></td><td class="cell"><p>of Thames</p></td><td class="cell"><p>41</p></td><td class="cell"><p>20.1</p></td><td class="cell"><p>account with</p></td><td class="cell"><p>30</p></td><td class="cell"><p>18.4</p></td><td class="cell"><p>Lloyds</p></td><td class="cell"><p>11</p></td><td class="cell"><p>14.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><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="4" global="154"/><p>The marking of senses took anywhere from 3 to 35 minutes, depending upon the subtlety of the sense divisions to be made. The average time was around 15 minutes per word. A sub­stantial part of this was taken up by reading and understanding the dictionary entry even before patterns were marked. Crucially we made no use of the training data,<footnote anchor="9"/> although this would certainly have been of use as a reference in clar­ifying the sense distinctions to be made. Unfor­tunately, due to severe time constraints, it only proved possible to carry out analysis for the 29 nouns and 15 adjectives in the lexical sample, and there was no time to carry out the analysis of the verbs.<footnote anchor="10"/></p><p>Results on the task were 66.1% for coarse­grained precision and 58.1% for fine-grained.<footnote anchor="11"/>This was significantly higher than other systems which did not use the training data (the best scores being 51.8% for coarse-grained and 40.2% for fine-grained precision), demonstrating that the relatively small amount of human interac­tion is very beneficial. Indeed, the system's per­formance was similar to the majority of systems which had used the training data.</p><subsubsection number="3.2.1" title="Significant problems"><p>The most pervasive problem was the difficulty of getting a clear conception of the sense dis­tinctions made in the inventory, here WordNet. Without this, assigning putative senses to clues could be an exasperating and painful task.</p><p>To illustrate, for the adjective <i>simple </i>there were no less than 13 sense distinctions to be made, the first two of which were particularly hard to distinguish:</p><p>1. simple (vs. complex) - (not complex or complicated or involved): <i>a simple problem</i></p><p>2. elementary, simple, uncomplicated, un-problematic - (not involved or compli­cated): <i>an elementary problem in statistics</i></p><footnote label="9">In fact, we had to download the data to find out the words to be tested, but made no other use of it.</footnote><footnote label="10">Also no results were returned for the noun day, as processing the 93,000+ examples in the BNC led to an processing delay that could not be fixed in time.</footnote><footnote label="11">Due to the limited number of words attempted the figures for recall were 36.3% and 31.9%. It should be understood that there was no precision/recall tradeoff here—the system returned an answer for all sentences in the words it covered.</footnote><p>Unsurprisingly, the system fared particularly badly here with 37.9% precision, while inter-annotator agreement was also low at 67.8%.</p></subsubsection><subsubsection number="3.2.2" title="Previous results"><p>We previously measured the performance of the system on the dataset from the SENSEVAL-1 ex­ercise (Kilgarriff and Palmer, 2000) under sim­ilar conditions of use. Results for the WASP-Bench here were significantly higher at 74.9% precision which was very close to the best super­vised system (within 1%). This was undoubt­edly due to the clearer sense distinctions and greater number of examples to be found in the sense inventory used for this task in SENSEVAL-1, which made it possible to assign senses to clues with more confidence.</p></subsubsection></subsection></section><section number="4" title="Summary"><p>The results for the WASP-Bench show that high-quality disambiguation can be achieved with much less human interaction than is needed for preparing a training corpus. Further­more, this interaction can be motivated since it has been shown to be of proven benefit for the users of the system: lexicographers. Establish­ing this synergy may prove to be of great im­portance for both camps.</p></section><references><p>Kenneth Church and Patrick Hanks, 1989. Word association norms, mutual information and lexicography. In <i>ACL Proceedings, 27th Annual Meeting, </i>pages 76-83, Vancouver.</p><p>Adam Kilgarriff and Martha Palmer. 2000. Introduction, Special Issue on SENSEVAL: Evaluating Word Sense Disambiguation Pro­grams. <i>Computers and the Humanities, </i>34(1-2):1-13.</p><p>Dekang Lin. 1998. Automatic retrieval and clustering of similar words. In <i>CO LING -ACL, </i>pages 768-774, Montreal.</p><p>Michael Rundell. 2002. <i>Macmillan English Dic­tionary for Advanced Learners. </i>Macmillan.</p><p>David Yarowsky. 1993. One sense per colloca­tion. In <i>Proc. ARPA Human Language Tech­nology Workshop, </i>Princeton.</p><p>David Yarowsky. 1995. Unsupervised word sense disambiguation rivalling supervised methods. In <i>ACL 95, </i>pages 189-196, MIT.</p></references></body></article>