Tag Semantics for the Retrieval of XML Documents

Similar documents
WordNet-based User Profiles for Semantic Personalization

Query Difficulty Prediction for Contextual Image Retrieval

Shrey Patel B.E. Computer Engineering, Gujarat Technological University, Ahmedabad, Gujarat, India

Making Sense Out of the Web

WEIGHTING QUERY TERMS USING WORDNET ONTOLOGY

A Linguistic Approach for Semantic Web Service Discovery

Evolving a Set of DTDs According to a Dynamic Set of XML Documents

A Bayesian Approach to WSD for the Retrieval of. XML Documents.

QUERY EXPANSION USING WORDNET WITH A LOGICAL MODEL OF INFORMATION RETRIEVAL

Using the Multilingual Central Repository for Graph-Based Word Sense Disambiguation

Improving Retrieval Experience Exploiting Semantic Representation of Documents

Evaluating a Conceptual Indexing Method by Utilizing WordNet

arxiv:cmp-lg/ v1 5 Aug 1998

Enriching Ontology Concepts Based on Texts from WWW and Corpus

Sense-based Information Retrieval System by using Jaccard Coefficient Based WSD Algorithm

Web Information Retrieval using WordNet

Conceptual document indexing using a large scale semantic dictionary providing a concept hierarchy

Information Retrieval CSCI

Knowledge-based Word Sense Disambiguation using Topic Models Devendra Singh Chaplot

COMP90042 LECTURE 3 LEXICAL SEMANTICS COPYRIGHT 2018, THE UNIVERSITY OF MELBOURNE

Question Answering Approach Using a WordNet-based Answer Type Taxonomy

BabelNet: The automatic construction, evaluation and application of a wide-coverage multilingual semantic network

Natural Language Processing SoSe Question Answering. (based on the slides of Dr. Saeedeh Momtazi) )

A Comprehensive Analysis of using Semantic Information in Text Categorization

A Semantic Role Repository Linking FrameNet and WordNet

A hybrid method to categorize HTML documents

Controlled Access and Dissemination of XML Documents

A Survey Of Different Text Mining Techniques Varsha C. Pande 1 and Dr. A.S. Khandelwal 2

Information Retrieval CS Lecture 01. Razvan C. Bunescu School of Electrical Engineering and Computer Science

Text Similarity. Semantic Similarity: Synonymy and other Semantic Relations

Natural Language Processing SoSe Question Answering. (based on the slides of Dr. Saeedeh Momtazi)

Which Role for an Ontology of Uncertainty?

Semantics Isn t Easy Thoughts on the Way Forward

CHAPTER 5 SEARCH ENGINE USING SEMANTIC CONCEPTS

ResPubliQA 2010

Ontology Matching with CIDER: Evaluation Report for the OAEI 2008

Ontology Extraction from Heterogeneous Documents

SEMANTIC WEB POWERED PORTAL INFRASTRUCTURE

Information Retrieval and Web Search

Building Instance Knowledge Network for Word Sense Disambiguation

NATURAL LANGUAGE PROCESSING

TIC: A Topic-based Intelligent Crawler

A Method for Semi-Automatic Ontology Acquisition from a Corporate Intranet

A Combined Method of Text Summarization via Sentence Extraction

LexiRes: A Tool for Exploring and Restructuring EuroWordNet for Information Retrieval

Semi-Automatic Conceptual Data Modeling Using Entity and Relationship Instance Repositories

TERM BASED WEIGHT MEASURE FOR INFORMATION FILTERING IN SEARCH ENGINES

What is this Song About?: Identification of Keywords in Bollywood Lyrics

SAACO: Semantic Analysis based Ant Colony Optimization Algorithm for Efficient Text Document Clustering

Multi-Modal Word Synset Induction. Jesse Thomason and Raymond Mooney University of Texas at Austin

CS101 Introduction to Programming Languages and Compilers

Random Walks for Knowledge-Based Word Sense Disambiguation. Qiuyu Li

Package wordnet. November 26, 2017

International Journal of Advance Engineering and Research Development SENSE BASED INDEXING OF HIDDEN WEB USING ONTOLOGY

EFFICIENT INTEGRATION OF SEMANTIC TECHNOLOGIES FOR PROFESSIONAL IMAGE ANNOTATION AND SEARCH

A CUSTOMIZABLE SEMANTIC-BASED P2P SYSTEM

Towards the Automatic Creation of a Wordnet from a Term-based Lexical Network

Semantically Driven Snippet Selection for Supporting Focused Web Searches

Efficient Discovery of Semantic Web Services

Semantic Indexing of Technical Documentation

Collaborative enterprise knowledge mashup

WEB SEARCH, FILTERING, AND TEXT MINING: TECHNOLOGY FOR A NEW ERA OF INFORMATION ACCESS

slide courtesy of D. Yarowsky Splitting Words a.k.a. Word Sense Disambiguation Intro to NLP - J. Eisner 1

Question Answering Using XML-Tagged Documents

Formulating XML-IR Queries

Building a Tokenizer for Indonesian

INTERCONNECTING AND MANAGING MULTILINGUAL LEXICAL LINKED DATA. Ernesto William De Luca

A BFS-BASED SIMILAR CONFERENCE RETRIEVAL FRAMEWORK

Associating Terms with Text Categories

Sense Match Making Approach for Semantic Web Service Discovery 1 2 G.Bharath, P.Deivanai 1 2 M.Tech Student, Assistant Professor

Syntax Agnostic Semantic Validation of XML Documents using Schematron

Although it s far from fully deployed, Semantic Heterogeneity Issues on the Web. Semantic Web

JWOLF: Java Free French Wordnet Library

Multimedia Data Management M

MERGING BUSINESS VOCABULARIES AND RULES

Natural Language Processing. SoSe Question Answering

HELIOS: a General Framework for Ontology-based Knowledge Sharing and Evolution in P2P Systems

A Multiclassifier based Approach for Word Sense Disambiguation using Singular Value Decomposition

Introduction to Text Mining. Hongning Wang

Text Mining. Munawar, PhD. Text Mining - Munawar, PhD

The JUMP project: domain ontologies and linguistic work

HIGH-SPEED ACCESS CONTROL FOR XML DOCUMENTS A Bitmap-based Approach

Web Product Ranking Using Opinion Mining

Swinburne Research Bank

Empirical Analysis of Single and Multi Document Summarization using Clustering Algorithms

A JAVA-BASED SYSTEM FOR XML DATA PROTECTION* E. Bertino, M. Braun, S. Castano, E. Ferrari, M. Mesiti

MEASURING SEMANTIC SIMILARITY BETWEEN WORDS AND IMPROVING WORD SIMILARITY BY AUGUMENTING PMI

A Hybrid Unsupervised Web Data Extraction using Trinity and NLP

TRENTINOMEDIA: Exploiting NLP and Background Knowledge to Browse a Large Multimedia News Store

Semantic Web. Ontology Alignment. Morteza Amini. Sharif University of Technology Fall 95-96

Department of Electronic Engineering FINAL YEAR PROJECT REPORT

Putting ontologies to work in NLP

Word Sense Disambiguation for Cross-Language Information Retrieval

Personalization in Digital Library: An Intelligent Service based on Semantic User Profiles

Lecture 4: Unsupervised Word-sense Disambiguation

Improvement of Web Search Results using Genetic Algorithm on Word Sense Disambiguation

Processing Structural Constraints

Structural Similarity between XML Documents and DTDs

A Multiclassifier based Approach for Word Sense Disambiguation using Singular Value Decomposition

Revealing the Modern History of Japanese Philosophy Using Digitization, Natural Language Processing, and Visualization

Transcription:

Tag Semantics for the Retrieval of XML Documents Davide Buscaldi 1, Giovanna Guerrini 2, Marco Mesiti 3, Paolo Rosso 4 1 Dip. di Informatica e Scienze dell Informazione, Università di Genova, Italy buscaldi@disi.unige.it, 2 Dip. di Informatica, Università di Pisa, Italy guerrini@disi.unige.it, 3 Dip. di Informatica e Comunicazione, Università di Milano, Italy mesiti@disi.unige.it 4 Dpto. de Sistemas Informáticos y Computación,Univ. Politecnica de Valencia, Spain prosso@dsic.upv.es Abstract. Word Sense Disambiguation (WSD), in the field of Natural Language Processing (NLP), consists in assigning the correct sense (semantics) to a word form (lexeme) by means of the context in which the lexeme is found. In this paper we investigate the possibility of applying WSD techniques to the field of Information Retrieval, especially to the retrieval of XML documents. We consider two methods to automatically assign semantic values to XML tags on the grounds of the tagged text contained. Such methods rely on the bayesian supervised approach and on an automatic unsupervised approach and exploit the WordNet ontology. Results show that the applicability of both methods is hampered by the habit of use abbreviations or shortcuts as tags. 1. Introduction Nowadays, nearly all kind of information is stored in electronic format: digital libraries, newspapers collections, etc. Internet itself can be considered as a huge world database which everybody can access to from everywhere in the world. Due to the quantity of stored data, it is very important to develop precise and efficient search techniques. The mechanisms developed up to now in Information Retrieval (IR) systems are constantly improving through new interfaces and technologies but most of them are still based on pairing of keywords and make use of statistical information extracted from the documents. In fact, in many approaches users' needs are expressed as keywords, and documents are represented in terms of the words they contain. These retrieval systems represent each document through a vector of relevant terms extracted from the document. Therefore, such systems cannot retrieve documents in which terms, semantically related with those of the query, are used. Sources of XML documents are today proliferating on the World Wide Web. An important feature of XML is that information on document structures is available on the Web together with the document contents. This structural information can be exploited to improve document handling and retrieval. However, due to the intrinsic heterogeneity of the Web, there is no assurance that documents related to the same topic have exactly the same structure. The need thus arises of shifting from the boolean notion of validity to a numeric notion of structural similarity. Some approaches have been already proposed to detect or to measure the structural similarity between pairs of XML documents and between an XML document and a structural representation of a user query [1,2,6]. Tags play an important role in describing the XML document structure, and therefore structural similarity heavily depends on tag similarity. Starting from the fact that XML tags are semantic tags, providing information on the intended content of the element, we do not consider syntactic similarity between tags, rather we focus on semantic similarity between tags. Tag semantics is usually associated neither with the document tags nor with the tags used in the retrieval query. Assigning tag semantics by hand is error prone and makes the idea of exploiting

tag semantics in the retrieval process unrealistic. Therefore, approaches that given a syntactic tag return its semantics are required. In this paper we thus employ WSD techniques, developed in the area of NLP, to recognize, depending on the tag context, its meaning. The meaning associated with each tag is then exploited during the match in order to verify whether two tags can be regarded as synonyms. The paper is structured as follows. Section 2 presents two approaches, previously applied to disambiguate nouns, which we adapted to perform WSD on XML tags. Section 3 briefly introduces a technique to find structural similarity between an XML document and a structural query that exploits semantic similarity. Section 4 reports the experimental results of our early attempts to apply the above mentioned disambiguation approaches on XML tags, and, finally, Section 5 concludes the paper and outlines future research directions. 2. Semantic Indexing with WordNet Senses Labelling each word with the correct sense in usual WSD field is a non-trivial task since many words are polysemic (i.e., have more than one sense). A typical solution is to examine the portion of text in which the word is embedded (referred to as the context of the word) and to assign a sense to the word in function of this. Since tags are isolated words not included in a sentence, indexing each tag of an XML document with the right sense is even more difficult. In addition to context, external knowledge sources play a significant role in WSD. Those provide the senses of each word and their relationships with other words, such as synonymy (is-similarto), hypernymy (is-a), meronymy (is-part-of), and so on. In our case we used WordNet, an ontology based on synsets (sets of synonyms), connected by various relations including the ones mentioned above. Version 1.6 of this ontology contains approximately 95.000 noun word forms organized into approximately 117.000 synsets [5]. Most of the WSD approaches are corpus-based approaches, that is, they apply machine learning algorithms to learn from training corpora. Supervised approaches learn from previously semantically annotated corpora, while unsupervised approaches eschew the use of sense tagged data during training. These knowledge-based approaches rely only on an external knowledge source to perform disambiguation in a fully automated way. In this section we present the supervised naive-bayes approach [9] and the automatic unsupervised approach presented in [7]. 2.1 A Bayesian Supervised Approach The naive Bayesian approach [9], which is used in NLP, is based on the premise that choosing the best sense for a word amounts to choosing the most probable sense given its context. In order to determine the context of the word, a certain number of its neighbouring words is considered. This number (n) is the size of the window. Let S be the set of senses of a given word and V the context of that word: we need to find the sense s that maximizes the conditional probability P(s V). Because of the difficulty of collecting statistics for this conditional probability directly, it can be rewritten in the usual Bayesian manner as follows: P( s) P( V s) max s S P( V ) (1)

Moreover, making the naive assumption that the words of the context vector are independent of one another and since P(V) is the same of all possible senses and it does not affect the final ranking of senses, we can write the equation (1) as follows: s S n max P( s) P( v s) (2) Due to some zero counts, smoothing techniques should be applied in order to re-evaluating some of the zero-probability and assigning them non-zero values. A certain quantity is discounted from the non-zero probabilities and is uniformly distributed among all the words of WordNet, of the same category of the word to disambiguate, which did not occur in the context of the word. The smoothing techniques resulted really relevant in the XML context. In fact, in our experiments, many times the context of a lexeme contained words with zero counts [4]. Thus, the smoothing techniques improved the identification of the correct meaning of a lexeme. The approach was trained for the noun disambiguation task by using the SemCor corpus [3], a set of SGML formatted files whose words have been syntactically and semantically tagged with their POS (Part-Of-Speech) and synset tags. Example 1. Let us say we have to disambiguate the lexeme film and also that the words in its context are director, actor, and. There are five senses for film in WordNet: 1- movie, 2- cinema, 3- thin coating, 4- plastic film, 5- photographic film. The most probable sense results to be the first one ( movie, sense number 1) since we obtain the maximum probability for P(director 1) P(actor 1) P( 1). This means that relying on this context it is more probable that the sense of film is movie than another one (on the basis of the performed training over SemCor). 2.2 An Automatic Unsupervised Approach This approach, presented in [7], exploits the tree structure of the WordNet ontology to quantify the correlation among the sense of a given word and its context by evaluating the Conceptual Density (CDe) of subhierarchies induced by the senses of a word and by combining this information with the frequency of each of the senses. Each sense of the word to disambiguate induces such a subhierarchy in WordNet, over which the conceptual density is evaluated as the number of relevant synsets (i.e., the synset of the sense of the word to disambiguate and synsets of the context words), M, divided by the total number of synsets of the subhierarchy, nh. After including frequency f (an integer representing the frequency of the hierarchy-related sense in WordNet: 1 means the most frequent case, 2 means the second most frequent case, and so on), the resulting formula is: log f M CDe( M, h, f ) = M α nh Where α is a constant (best results were obtained with α =0.25). Thus, the most frequent sense of the word gets at least a density of 1. One of the less frequent senses is chosen only if it exceeds the density of the first sense. Since this approach gives good performance with a window of only 2 nouns, it should be a good technique for a scenario with small contexts as in the case of XML tags. j= 1 j

Top Measure Time Date (1,2,4,5,7) abstraction Entity Relation Object Communication Artifact Instrumentality Show Equipment Film(3) Sheet Organism CDe(1,1,3)= 1 Film(4) CDe(1,2,4)=0.38 Person Plant Actor(1) Date(8) Director (1 4) Movie medium Photographic eq. Date(6) Film(1) Film(2) Film(5) CDe(1,3,5)=0.17 CDe(6,nh,1)=6 0.25 =1.56 CDe(1,2,2)=0.61 Figure 1: WordNet subhierarchies induced by lexeme film and context of Example 1 Example 2. Consider the same lexeme and context of Example 1. The five WordNet synsets corresponding to the five senses of film determine the five subhierarchies (dotted areas) in Figure 1. The relevant synsets, corresponding to the senses of the word to be disambiguated and those of the words in the context, are represented with thicker borders. All the synsets of director and actor fall outside the subhierarchies and therefore they are not taken into account. Five relevant synsets of fall into the subhierarchy related to the first sense (movie), resulting in a densiy of 6 0.25 =1.56. Therefore this subhierarchy has a higher density than the other ones, and the first sense of the lexeme film is assigned. 3. Structural Similarity between an XML Document and a Structural Query Recent approaches to the retrieval of XML documents exploit the structure of documents for improving both accuracy and efficiency. Such queries are referred to as structural queries. Moreover, several of those approaches have the capability of returning ranked answers, in the spirit of Information Retrieval. Structural queries are normally expressed as labeled trees, representing either structural or content constraints on the documents that are possible answers to the query. By means of a match between the tree representation of a structural query and of an XML document it is possible to verify whether the document is an answer to the query, to compute their degree of similarity, and to extract the parts of the document that the query should return. In [1,4] a structural query has been represented as a DTD, in which some additional constraints on the value of data content elements have been posed. Therefore, a query is modeled as a labeled tree representing the structural and content constraints a document should verify in order to be considered an answer to the query. The tags in the query are couple with the corresponding semantics by means of one of the WSD approaches presented in Section 2. Then, the matching algorithm can be exploited for evaluating the degree of similarity between the two

OR film AND syn movie, picture, picture show director actor = syn = syn > syn Almodovar stage director Benigni histrion,player 1980 film movie movie director Almodovar 1985 actor Benigni 1985 director Almodovar month year April 1984 (1) > (0.92) > (0.83) Figure 2: Tree representation of a structural query and its evaluation structures. The degree of similarity expresses the commonalities and differences identified both at structural, content and tags level. If such a degree is above a given threshold, the document is added to the set of answers for the query. The query answer set is ranked relying on the similarity degree. The following example summarizes the overall approach. Example 3. Consider the following query expressed through the Xpath [8] notation: /film[director ="Almodovar" OR actor = "Benigni"] AND /film[ > "1980"] By exploiting the structure of the document deduced by the query formulation, the tree representation in the upper side of Figure 2 can be generated. In the tree representation the synset associated with the tags film, director, actor and are reported. By means of a matching algorithm, which compares a document structure against the tree representation of the query, it is possible to determine the degree of similarity between what the query requires and the document presents. The match is performed level-by-level (i.e., for each common element between the two structures we check which sub-element is required by the query and it is present in the document) and takes into account the tag semantics. Tag semantics can be obtained by one of the automatic approaches proposed in Section 2. Consider now the documents in the lower side of Figure 2. The similarity degrees the matching algorithm return are used to rank the documents. If the query requires a tag x and the document contains a tag y such that y belongs to the synset of x, then we say that the two tags are semantically similar. A small penalty is applied in order to take into account that y may be used with a different semantics in the document. 4. Experimental Results In order to verify whether it should be better determining the meaning of tags by using WSD techniques rather than relying on their syntactic similarity we gathered around 30 XML documents from the Web and we considered the set of tags used in the document. We tried to

disambiguate each element tag considering as context the tags of its neighbor elements. It turned out that around 30% of the tags contained in the documents could not have been disambiguated since they were not present in the noun hierarchy of WordNet (both methods performed disambiguation only over nouns). Often tags were a combination of lexemes (e.g. ProductList, clubname), others were unintelligible abbreviations (e.g. msrb, cnames, bktlong), someones existed but in a different form (e.g. lastname instead of last_name), and others were simply stop list words (e.g. from, to). In all other cases, the approaches were able to assign a sense to the tags (the correctly disambiguated tags were about 40%). The obtained are similar for both approaches, although we remark that the automatic method has the advantage of not needing a training phase, thus resulting in being faster and in not needing semantic labeled XML documents corpora, whose availability is extremely short. 5. Conclusions and Future Work In this paper we proposed two automatic approaches for WSD of tags of XML documents. Moreover, some experiments have been carried out in order to show whether it is better to consider semantic tag similarity or syntactic tag similarity. Our preliminary experiments show up that probably the too much fine-grained WordNet ontology is not adequate for XML documents. A new one should be developed that contains nouns, verbs and frequent shortcuts commonly used as tags for XML documents. Relying on a more expressive ontology also new WSD techniques can be developed in order to overcome the limitations of current approaches. Moreover, the computation of semantic tag similarity should be coupled with some syntactic transformation in order to overcome the small syntactic differences identified on tags (e.g. lastname and last_name). Further research directions we plan to investigate are related to the possibility to combine structural similarity queries with content similarity queries in order to perform more sophisticated queries. Acknowledgments. This work was supported by the CIAO SENSO MCYT Spain-Italy project (HI 2002-0140). The work of Paolo Rosso was also supported by the TUSIR CICYT project (TIC 2000-0664-C02). References [1] E. Bertino, G. Guerrini, and M. Mesiti. A Matching Algorithm for Measuring the Structural Similarity between an XML Document and a DTD and its Applications. Journal of Information Systems. To appear. [2] S. Flesca, G. Manco, E. Masciari, L. Pontieri, and A. Pugliese. Detecting Structural Similarities between XML Documents. In Proc. of the Fifth Int'l Workshop on the Web and Databases,2002. [3] S. Landes, C. Leacock. and R.I Tengi. Building Semantic Concordance. In Fellbaum C. (Ed.), WordNet: An Electronic Lexical Database, pp. 199-216, MIT Press, Cambridge, MA, USA, 1998. [4] M. Mesiti, P. Rosso, and M. Merlo. A Bayesian approach to WSD for the retrieval of XML documents. In Proc. of JOTRI Conference, pp.11-18, Spain (2002). [5] A. Miller. WordNet: A Lexical Database for English. Communications of the ACM, 38(11):39-41, November 1995. http://www.cogsci.princeton.edu/~wn/ [6] A. Nierman and H. Jagadish. Evaluating Structural Similarity in XML Documents. In Proc. of Int'l Workshop on the Web and Databases, 2002. [7] P. Rosso, F. Masulli, D. Buscaldi, F. Pla, and A. Molina. Automatic Noun Sense Disambiguation. In Proc. of Int l Conf. CICLing, Mexico City, Mexico, LNCS(2588), pp. 273-275, 2003. [8] W3C. XML Path Language (Xpath), 1999. [9] S. Young and G. Bloothooft. Corpus-based Methods in Language and Speech Processing. ELSNET book edition, 1997.