Sense-Annotating a Lexical Substitution Data Set with Ubyline
Total Page:16
File Type:pdf, Size:1020Kb
Sense-annotating a Lexical Substitution Data Set with Ubyline Tristan Miller, Mohamed Khemakhem, Richard Eckart de Castilho, and Iryna Gurevych Ubiquitous Knowledge Processing Lab (UKP-TUDA) Department of Computer Science, Technische Universitat¨ Darmstadt https://www.ukp.tu-darmstadt.de/ Abstract We describe the construction of GLASS, a newly sense-annotated version of the German lexical substitution data set used at the GERMEVAL 2015: LEXSUB shared task. Using the two annotation layers, we conduct the first known empirical study of the relationship between manually applied word senses and lexical substitutions. We find that synonymy and hypernymy/hyponymy are the only semantic relations directly linking targets to their substitutes, and that substitutes in the target’s hypernymy/hyponymy taxonomy closely align with the synonyms of a single GermaNet synset. Despite this, these substitutes account for a minority of those provided by the annotators. The results of our analysis accord with those of a previous study on English-language data (albeit with automatically induced word senses), leading us to suspect that the sense–substitution relations we discovered may be of a universal nature. We also tentatively conclude that relatively cheap lexical substitution annotations can be used as a knowledge source for automatic WSD. Also introduced in this paper is Ubyline, the web application used to produce the sense annotations. Ubyline presents an intuitive user interface optimized for annotating lexical sample data, and is readily adaptable to sense inventories other than GermaNet. Keywords: lexical substitutions, word senses, word sense annotation 1 Introduction Our second contribution is GLASS (German Lexemes An- notated with Senses and Substitutions),2 a new German- Word sense disambiguation (WSD)—the task of determin- language sense-annotated data set. GLASS fills a gap in ing a word’s meaning in context—is one of the oldest open German-language resources by providing a lexical sample research problems in computational linguistics. WSD sys- data set which (i) features high-quality, manually applied tems are commonly evaluated by having humans mark up the sense annotations, (ii) is well balanced with respect to the words in a text with their contextually appropriate meanings, target words’ frequency and part of speech, (iii) is of suf- as enumerated by a dictionary or other lexical-semantic re- ficient size to be useful for machine learning, and (iv) is source, and then comparing these annotations against those distributed under a free content licence. Because GLASS supplied by the systems. Such “in vitro” evaluations are extends an existing lexical substitution data set, it allows popular because they are straightforward to conduct, though for in vitro and in vivo evaluations of WSD systems to be they have the disadvantage of requiring considerable effort to carried out on the same data. Moreover, GLASS is the first produce the manually annotated gold standard data. Sense- resource in any language to permit an empirical study of the annotated data sets remain rare, particularly for languages relationship between manually annotated word senses and other than English. lexical substitutes. A more recent and increasingly popular evaluation method, which has the advantage of not requiring all human and 2 Previous Work machine annotators to use the same sense inventory, is lex- ical substitution. Here the lexical annotations which are 2.1 Data Sets applied and compared are not sense labels, but rather lists There exist a handful of previously published German- of plausible synonyms. It has been argued that, since the language sense-annotated data sets, all of which are of the identification and ranking of these substitutions depends on lexical sample variety. The properties of these data sets, a proper understanding of the word’s meaning in context, as well as those of our own GLASS, are summarized in accuracy in this “in vivo” task is an indirect measure of WSD Table1. performance (McCarthy, 2002). The earliest of these resources, the MuchMore evaluation The contributions of the present work are twofold. First, set (Raileanu et al., 2002), has GermaNet annotations for to ease the considerable technical and ergonomic burdens 2421 occurrences of 25 nouns in a corpus of medical ab- of creating sense-annotated data, we provide Ubyline,1 an stracts. Raw interannotator agreement was high (0.841). Apache-licensed, web-based sense annotation tool whose Though the authors have made the data available for down- user interface is optimized for lexical sample data. (Lexical load, there is no explicit statement of the terms of use, so it sample data sets feature documents or short texts in which cannot be presumed to be freely licensed. annotations are applied to all instances of a fixed set of lem- The DeWSD resource (Broscheit et al., 2010) has manual mas.) Ubyline supports a wide range of sense inventories in sense annotations for 1154 occurrences of 40 lemmas (6 several languages, including WordNet and GermaNet. It is, adjectives, 18 nouns, 16 verbs) in the deWaC corpus (Baroni to our knowledge, the only published GermaNet-compatible et al., 2009). While the lemmas were translated from an sense annotation tool. English WSD data set, some attempt was made to yield a 1https://github.com/UKPLab/lrec2016- 2Available at https://www.ukp.tu-darmstadt.de/ ubyline data/ under the CC BY-SA 3.0 licence. 828 WikiCAGe WebCAGe MuchMore DeWSD TuBa-D/Z¨ GLASS Lemmas: adj. 0 211 0 6 0 51 nouns 1 030 1 499 25 18 30 51 verbs 0 897 0 16 79 51 total 1 030 2 607 25 40 109 153 Tokens 24 344 10 750 2 421 1 154 17 910 2 038 GermaNet ver. 6.0 7.0–9.0 1.0(?) 5.1, 9.0 8.0 9.0 Domain open open medical open open open Annotations semi-automatic semi-automatic manual manual manual manual CC BY-SA/ Licence unpublished proprietary proprietary proprietary CC BY-SA proprietary Table 1: Comparison of sense-tagged corpora for German good distribution across parts of speech, polysemy, and word support software. Several tools have been developed for frequency. No information is provided on the manual anno- applying WordNet (Fellbaum, 1998) senses to English text. tation process, including interannotator agreement. Though SATANiC (Passonneau et al., 2009), for example, was used the original DeWSD data set was annotated with senses to build the MASC corpus; Punnotator (Miller and Turkovic,´ from GermaNet 5.1, Henrich (2015) later updated these to 2016) was created specifically to support WordNet sense GermaNet 9.0. As with the MuchMore data set, DeWSD is annotation of English puns. The only multilingual sense available for download but with no specified licence. annotation tool we are aware of, IMI (Bond et al., 2015), WebCAGe (Henrich et al., 2012b; Henrich, 2015) is a col- was used to annotate the NTU-Multilingual Corpus (Tan and lection of 10 750 occurrences of 2607 lemmas which have Bond, 2011) with senses from the Open Multilingual Word- been semi-automatically tagged with senses from GermaNet net (OMWN) (Bond and Foster, 2013). Although WordNet, 7.0 through 9.0. The source contexts are all web-harvested, OMWN, and GermaNet share a similar structure, the afore- and include a mix of free and proprietary content. The mentioned tools do not support GermaNet (nor any other portion of the data set derived from free sources (9376 German sense inventory). tagged word tokens) is distributed under the terms of the To our knowledge, only two sense annotation tools work CC BY-SA licence; as the full data set includes proprietary with GermaNet. The first of these is KiC, which was used to content, it is not publically available. A parallel project, produce the MuchMore data set. It does not appear to have WikiCAGe (Henrich et al., 2012a), applied GermaNet 6.0 been publically released, though a brief description appears sense annotations semi-automatically to a Wikipedia corpus in Raileanu et al. (2002). KiC displays sentences for a given containing 24 334 occurrences of 1030 lemmas. While it target word in KWIC (key word in context) format alongside was intended to be released under a free content licence, it a list of candidate senses from GermaNet. Annotators select was never published.3 the appropriate senses for each occurrence of the target Recent versions of the TuBa-D/Z¨ treebank (Henrich and word; they also have the option of marking an occurrence Hinrichs, 2013; Henrich and Hinrichs, 2014) include man- as “unspecified” if GermaNet does not contain its sense. To ually applied GermaNet 8.0 annotations for 17 910 occur- help distinguish between problematic senses, KiC can show rences of 109 lemmas (30 nouns and 79 verbs). Lemmas their corresponding hypernym–hyponym hierarchies. were selected to ensure a good balance of word frequencies, The second GermaNet-capable annotation tool is an un- number of distinct senses, and (for verbs) valence frames. named browser-based interface used to extend the TuBa-D/Z¨ Interannotator agreement was generally good (mean Dice treebank. As with KiC, it has not been published, though coefficient of 0.964 for nouns and 0.937 for verbs). While it is described by Henrich (2015). This tool displays target the data is available for non-profit academic use, it is not word occurrences in their sentential context, though sepa- released under a free content licence. rately rather than in KWIC format. Below each context is a With respect to German-language lexical substitution data list of candidate senses, identified only by their GermaNet sets, the only one of which we are aware is that of Cholakov numeric IDs and a brief description. If this information is et al. (2014). As the present work greatly builds upon its not sufficient to discriminate between the senses, annota- existing content, we reserve our description of it for §3.