UNICAL, 21/10/2004. Tutorial goals

Size: px
Start display at page:

Download "UNICAL, 21/10/2004. Tutorial goals"

Transcription

1 Workshop Data Warehousing and Data Mining TEXTEXT MINING INING An Overview of Concepts, Techniques and Applications Ing. Andrea Tagarelli Tutorial goals Introduce you to major aspects of the Knowledge Discovery Process, when available data is textual and unstructured Provide a systematization to the many many concepts around this area, according to the following lines the process the methods the applications Important issues that will be not covered in this tutorial: The problem of Dimensionality Reduction Text categorization Learning techniques Evaluation Visualization techniques Tools for Text Mining etc.

2 Tutorial Outline 1. Introduction Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications Tutorial Outline 1. Introduction Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications

3 The reason for Text Mining Amount of infor mation Collections of Text Str uct ur ed Data 0 Per centage A non-exhaustive list: Text sources Web pages E-books News articles Insurance claims Patent portfolios IRC Technical documents Scientific articles Customer complaint letters Contracts Transcripts of phone calls with customers

4 Problems with textual data (I) The known KDD problems and challenges extend to textual data large (textual) data collections high dimensionality overfitting changing data and knowledge noisy data understandability of mined patterns etc. Problems with textual data (II) But there are new problems Text is not designed to be used by computers Complex and poorly defined structure and semantics But much harder, ambiguity in speech, morphology, syntax, semantics, pragmatics Multilingualism lack of reliable and general translation tools

5 What is Text Mining? Peoples first thought: Make it easier to find things on the Web. But this is information retrieval! The foundation of most commercial text mining products is all this unproperly named stuff Information retrieval engine Web spider/search Text classification Information extraction (only sometimes) The metaphor of extracting ore from rock: Does make sense for extracting documents of interest from a huge pile. But does not reflect notions of Data Mining in practice. Rather: finding patterns across large collections discovering heretofore unknown information Text Mining: definitions Text mining mainly is about somehow extracting the information and knowledge from text 2 definitions: Any operation related to gathering and analyzing text from external sources for business intelligence purposes Discovery of knowledge previously unknown to the user in text Text mining is the process of: compiling, organizing, and analyzing large document collections to support the delivery of targeted types of information to analysts and decision makers and to discover relationships between related facts that span wide domains of inquiry.

6 Text Mining: contributing areas Natural Language Processing Information Retrieval Text Mining Information Extraction Data Mining Tutorial Outline 1. Introduction and basic concepts Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications

7 Major Functions Indicative reveals elements of the content, upon which the relevancy of the complete original text can be decided useful for Document browsing systems Document retrieval systems Informative represents a real substitute of the content of the full-text (or part), without references to its original text useful for Question-answering systems Document retrieval systems Browsing systems Usually part of hypertext and hypermedia systems Allow users to skim text collections in the search for valuable information Users need not to generate descriptions of what they want or specify in advance the topics of interest but can just indicate documents they find relevant Useful when a user has no clear need cannot express his need accurately or is a casual user of the information

8 Question-answering systems Also known as Information Extraction systems Retrieve specific information from the documents, by extracting or inferring answers from text representation Template types: Slots in template typically filled by a substring from the document Some slots may have a fixed set of pre-specified possible fillers that may not occur in the text itself Some slots may allow multiple fillers Assumes slots always in a fixed order Extraction patterns: Specify an item to extract for a slot, e.g. using a regular expression pattern May require preceding (pre-filler) pattern to identify proper context, and succeeding (post-filler) pattern to identify the end of the filler Information Retrieval systems (I) Select documents from a collection in response to a user s query Search request is formulated in natural language Rank these documents according to their relevance to the query Matching between document representation and query representation Return a list of possible relevant texts, the representations of which best match the request representation

9 Information Retrieval systems (II) Retrieval models Boolean model Vector space model Probabilistic model Network model Logic-based model Differences with respect to representation of textual contents, representation of information needs, and their matching Tutorial Outline 1. Introduction Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications

10 Boolean model (I) Compares the boolean query statement with the term sets used to identify the textual content (index terms) Query has the form of an expression containing index terms boolean operators (AND, OR and NOT) defined upon the terms Document matches condition or not This model is employed in many commercial systems Professional searchers still like boolean queries: you know exactly what you re getting Boolean model (II) Which plays of Shakespeare contain the words Brutus AND Caesar but NOT Calpurnia? Term-document incidence matrix Antony and Cleopatra Julius Caesar The Tempest Hamlet Othello Macbeth Antony Brutus Caesar Calpurnia Cleopatra mercy worser if play contains word, 0 otherwise To answer query: Idea: query satisfaction = overlap measure take the vectors for Brutus, Caesar and Calpurnia (complemented) bitwise AND AND AND =

11 Boolean model (III): Problems Very rigid: AND means all; OR means any Difficult to express complex user requests Difficult to control the number of documents retrieved All matched documents will be returned Difficult to rank output All matched documents logically satisfy the query Difficult to perform relevance feedback If a document is identified by the user as relevant or irrelevant, how should the query be modified? Boolean model (IV): Problems Overlap measure doesn t consider: term frequency in document term scarcity in collection (document mention frequency) length of documents

12 Vector Space model (I) Documents and queries are represented in a m-dimensional vector space Index term set of the collection: V = {w 1,, w m } Document: d = [d 1, d 2,, d m ] binary or weighted components Collection: D = {d 1, d 2,, d N } The relevancy of a document to a query is computed as a proximity measure Vector Space model (II) Desiderata for proximity If d 1 is near d 2, then d 2 is near d 1 If d 1 is near d 2, and d 2 near d 3, then d 1 is not far from d 3 No document is closer to d than d itself Distance between vectors d 1 and d 2 is the length of the vector d 1 - d 2 Euclidean distance Why is this not a great idea? We still haven t dealt with the issue of length normalization Long documents would be more similar to each other by virtue of length, not topic However, we can implicitly normalize by looking at angles

13 Cosine similarity Vector Space model (III) Distance between vectors d 1 and d 2 captured by the cosine of the angle θ between them. t 3 d 2 Note that this is similarity, not distance sim( d j,d k d ) = d j j d k d k = n i= 1 n i= 1 w w 2 i, j The denominator involves the lengths of the vectors So the cosine measure is also known as the normalized inner product i, j w i, k n i= 1 w 2 i, k t 2 θ d 1 t 1 Vector Space model (IV) A vector can be normalized (given a length of 1) by dividing each of its components by the vector's length This maps vectors onto the unit circle: n i d j = = w 1 i, 2 j = Then, longer documents don t get more weight For normalized vectors, the cosine is simply the dot product: cos( d j, dk ) = d j 1 d k

14 Vector Space model (V): Advantages Allows simple and efficient implementation for large document collections Query becomes a vector in the same space as the documents Can consider both local (tf) and global (idf) word occurrence frequencies Provides partial matching and natural measure of scores/ranking no longer Boolean Tends to work quite well in practice despite the simplifying assumptions Vector Space model (VI): Problems Missing syntactic information (e.g., phrase structure, word order, proximity information) Missing semantic information (e.g., word sense) Assumption of term independence Bag-of-words model Assumption that term vectors are pair-wise orthogonal Lacks the control of a Boolean model (e.g., requiring a term to appear in a document) Given a two-term query A B, may prefer a document containing A frequently but not B, over a document that contains both A and B, but both less frequently

15 Tutorial Outline 1. Introduction Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications Storage of text representations (I) Desiderata for a data structure: Ability to represent concepts and relationships Ability to support the location of these concepts in the document collection Inverted index For each term, stores the ids of all documents that are indexed by that term The complete inverted index is first represented by an array of indexed documents then transposed (to obtain a term- document matrix)

16 Doc 1 I did enact Julius Caesar I was killed i' the Capitol; Brutus killed me. Storage of text representations (II) Each document is parsed to extract words, and these are saved with the Document ID Doc 2 So let it be with Caesar. The noble Brutus hath told you Caesar was ambitious Term Doc # I 1 did 1 enact 1 julius 1 caesar 1 I 1 was 1 killed 1 i' 1 the 1 capitol 1 brutus 1 killed 1 me 1 so 2 let 2 it 2 be 2 with 2 caesar 2 the 2 noble 2 brutus 2 hath 2 told 2 you 2 caesar 2 was 2 ambitious 2 Storage of text representations (III) After all documents have been parsed the inverted file is sorted by terms Term Doc # I 1 did 1 enact 1 julius 1 caesar 1 I 1 was 1 killed 1 i' 1 the 1 capitol 1 brutus 1 killed 1 me 1 so 2 let 2 it 2 be 2 with 2 caesar 2 the 2 noble 2 brutus 2 hath 2 told 2 you 2 caesar 2 was 2 ambitious 2 Term Doc # ambitious 2 be 2 brutus 1 brutus 2 capitol 1 caesar 1 caesar 2 caesar 2 did 1 enact 1 hath 1 I 1 I 1 i' 1 it 2 julius 1 killed 1 killed 1 let 2 me 1 noble 2 so 2 the 1 the 2 told 2 you 2 was 1 was 2 with 2

17 Multiple term entries in a single document are merged (Local) frequency information are added Storage of text representations (IV) Term Doc # ambitious 2 be 2 brutus 1 brutus 2 capitol 1 caesar 1 caesar 2 caesar 2 did 1 enact 1 hath 1 I 1 I 1 i' 1 it 2 julius 1 killed 1 killed 1 let 2 me 1 noble 2 so 2 the 1 the 2 told 2 you 2 was 1 was 2 with 2 Term Doc # Freq ambitious 2 1 be 2 1 brutus 1 1 brutus 2 1 capitol 1 1 caesar 1 1 caesar 2 2 did 1 1 enact 1 1 hath 2 1 I 1 2 i' 1 1 it 2 1 julius 1 1 killed 1 2 let 2 1 me 1 1 noble 2 1 so 2 1 the 1 1 the 2 1 told 2 1 you 2 1 was 1 1 was 2 1 with 2 1 Storage of text representations (V) The file is commonly split into a Dictionary and a Postings file Term Doc # Freq ambitious 2 1 be 2 1 brutus 1 1 brutus 2 1 capitol 1 1 caesar 1 1 caesar 2 2 did 1 1 enact 1 1 hath 2 1 I 1 2 i' 1 1 it 2 1 julius 1 1 killed 1 2 let 2 1 me 1 1 noble 2 1 so 2 1 the 1 1 the 2 1 told 2 1 you 2 1 was 1 1 was 2 1 with 2 1 Term N docs Tot Freq ambitious 1 1 be 1 1 brutus 2 2 capitol 1 1 caesar 2 3 did 1 1 enact 1 1 hath 1 1 I 1 2 i' 1 1 it 1 1 julius 1 1 killed 1 2 let 1 1 me 1 1 noble 1 1 so 1 1 the 2 2 told 1 1 you 1 1 was 2 2 with 1 1 Doc # Freq

18 Storage of text representations (VII) n-gram structure breaks terms into smaller string units of n characters allows searching morphologically different terms Signature file contains signatures (bit patterns) representing the index terms documents are split into logical blocks each containing a fixed number of index terms Hashed word-signature in the same block are OR ed together Block signatures are then concatenated to create the document signature Tutorial Outline 1. Introduction Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications

19 Index term Identification (I) What terms in a document do we index? All words or only important ones? A few words are very common 2 most frequent words (e.g., the, of ) can account for about 10% of word occurrences Most words are very rare Half the words in a corpus appear only once, called hapax legomena (Greek for read only once ) Search for terms that capture text semantics avoiding intensive manual processing (hand-coding) Involves: Index term Identification (II) Feature definition Text is usually represented as a bag of words, i.e. a collection of independent concepts concepts are words, word stems, word phrases concept weights can be binary or frequency-based Paragraph, sentence, word order is disrupted Syntactic structure is broken Feature selection and extraction reduce concept space dimensionality

20 Index term Identification (III) Feature selection and extraction Lessical and Morphological analysis processing of punctuation, numbers, case folding, etc. removal of stopwords stemming, lemmatization part-of-speech tagging Discourse Semantics analysis: Anaphora literal anaphor/pronominal anaphor This notebook weights even less than its predecessor textual ellipsis referential meronymy Pragmatics asservative, commissive, directive, declarative, expressive, interrogative sentences Selection of of natural language index terms (I) Cooper s concordance of Wordsworth was published in The applications of full-text retrieval are legion: they include résumé scanning, litigation support and searching published journals on-line. Cooper s vs. Cooper vs. Coopers Full-text vs. full text vs. {full, text} vs. fulltext résumé vs. resume Punctuation Ne er: use language-specific, handcrafted locale to normalize State-of-the-art: break up hyphenated sequence U.S.A. vs. USA - use locale Numbers Generally, don t index as text Creation dates for docs 3/12/91 Mar. 12, B.C. B Case folding Reduce all letters to lower case exception: upper case in mid-sentence General Motors Fed vs. fed SAIL vs. sail

21 Selection of Spell correction of natural language index terms (II) Look for all words within edit distance (maximum) k (Insert/Delete/Replace) at query time Data Minino Data Mining (edit distance: 1) eterogeneiti heterogeneity (edit distance: 2) Expensive and slows the query (upto a factor of 100) Invoke only when index returns zero matches What if documents contain mis- spellings? Selection of Removal of Stopwords of natural language index terms (III) Terms that are so common that they re ignored for indexing Function words that serve grammatical purposes and don t refer to objects or concepts. e.g., the, a, an, of, to language-specific

22 Selection of Stemming of natural language index terms (IV) Reduce terms to their roots before indexing mainly eliminate plurals, tenses, gerund forms, prefixes and suffixes automate(s), automatic, automation all reduced to automat Language- dependent for example compressed and compression are both accepted as equivalent to compress. for exampl compres and compres are both accept as equival to compres. Selection of of natural language index terms (V) Porter s stemmer algorithm Commonest algorithm for stemming English Conventions + 5 phases of reductions phases applied sequentially each phase consists of a set of commands sample convention: of the rules in a compound command, select the one that applies to the longest suffix sample rule: if word ends with ation replace with ate sses ss ies i ational ate tional tion

23 Selection of Lemmatization of natural language index terms (VI) Reduce inflectional/variant forms to base form am, are, is be car, cars, car's, cars' car the boy's cars are different colors the boy car be different color Selection of of natural language index terms (VII) Part-of-speech Tagging Labelling each word in a sentence with its proper grammatical category The representative put chairs on the table The/AT representative/nn put/vbd chairs/nns on/in the/at table/nn AT=determiner article, NN =noun singular, VBD=verb past tense, NNS=noun plural, IN=preposition There are several tag sets ranging mainly in granularity and complexity: Brown tag set, Penn Treebank tag set and several approaches: Markov models, Transformation-based learning, Decision trees

24 Selection of of natural language index terms (VIII) Part-of-speech Tagging (some) Public taggers Eric Brill s tagger: (Perl and C implementations) TreeTagger: MontyTagger: (Python and Java implementations) QTAG: (Java implementation) Makes sense as an intermediate task for others e.g. with shallow parsing for creating linguistically motivated index terms detecting slot-filler candidates in Information Extraction detecting answer candidates in Question Answering Assignment of Thesaurus of controlled language index terms Generalizes terms that have related meaning, but unrelated surface forms, into more uniform index terms Puts words that are synonyms and are intersubstitutable into equivalence classes Words may have many senses: polysemous words Word Sense Disambiguation techniques are needed Index such equivalences, or expand query?

25 Tutorial Outline 1. Introduction Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications Index Term Weighting (I) Distribution patterns of words give significant information about the property of being content bearing Zipf s law Rank (r): the numerical position of a word in a list sorted by decreasing frequency (f ) 1 Zipf (1949) discovered that: If probability of word of rank r is p r and N is the total number of word occurrences: p r = f N = A r f r A 0.1

26 Index Term Weighting (II) Luhn (1958) suggested that both extremely common and extremely uncommon words were not very useful for indexing Most discriminative concepts have low to medium frequency Index Term Weighting (III) Need for considering frequency of a word in a document Weighting term frequency (tf) It still doesn t consider: Term scarcity in collection (document mention frequency) Length of documents and queries (not normalized) Weighting should depend on the term overall Suggest looking at collection frequency (cf) but document frequency (df) may be better

27 Index Term Weighting (IV) tf x idf measure combines: term frequency (tf) measure of term density in a document inverse document frequency (idf) measure of informativeness of term: its rarity across the whole corpus could just be raw count of number of documents the term occurs in (idf i = 1/df i ) but by far the most commonly used version is: idf log( n / df ) i = i Index Term Weighting (V) Assign a tf.idf weight to each term i in each document d tf i, d w = tf log( n / df i, d i, d i = frequency of term i in document d n = total number of documents df i = the number of documents that contain term i increases with the number of occurrences within a document increases with the rarity of the term across the whole corpus )

28 Length normalization Index Term Weighting (VI) Documents have different sizes Long and verbose texts usually use the same terms repeatedly have numerous different terms Variations in length can be normalized to compensate the effect that the tf factors are large for long texts and small for short ones obscuring the real term importance tf max i, d j tf j, d j tf i, d 2 ( tf ) ( tf idf j, d j tf i, d idf j, d i j ) 2 Tutorial Outline 1. Introduction Motivations Basic concepts in Knowledge Discovery from textual data 2. Deeper into Text Mining: Functions Models Storage techniques Index term Identification Index term Weighting 3. Applications

29 Applications (I) The main application areas cover two aspects: Knowledge discovery mining proper Information distillation mining on the basis of some pre- established document structure, to identify documents relevant to a target information Typical usage: Extract relevant information from documents Classify and manage documents according to their content Organize repositories of document-related metainformation for search and retrieval Applications (II) Text summarization Word sense disambiguation Hierarchical categorization of Web pages Text filtering CRM & marketing (e.g., cross-selling, recommendation) Product recommendation Information delivery at organizations for Knowledge Management Personalizing information access Filtering news items in Usenet newsgroups Detecting spam messages

30 Applications Text Summarization Generate a summary of a text s content short text: essential and coherent Use profiles to structure the important content in semantically welldefined fields Mostly applied to ease information access, e.g. most useful keywords are extracted from a set of documents (e.g., a cluster) to describe it documents in a collection are abstracted to avoid reading the full content documents retrieved from search are summarized to allow the user a faster identification of those relevant to the query High-level summary or survey of all main points? Approaches based on size of the text unit used in the summary Keyword summaries Sentence summaries Applications Word Sense Disambiguation Assign a word with the right sense with respect to the context in which the word appears An effective approach: Choosing word meanings from an existing sense inventory by exploiting measures of semantic relatedness WSD is an example of the more general issue of resolving natural language ambiguities For instance: bank may have (at least) two senses in English: the Bank of England (a financial institution) the bank of river Thames (a hydraulic engineering artefact) which of above senses the occurrence of bank has in last week I borrowed some money from the bank

31 Applications Hierarchical Categorization of Web pages Under hierarchical catalogues (hosted by popular Web portals), a searcher may first navigate in the hierarchy of categories and then restrict his/her search to a particular category of interest Category-pivoted categorization should allow new categories to be added and obsolete ones to be deleted Peculiarities: Hypertextual nature of the documents Hyperlink analysis Hierarchical structure of the category set Decomposing the classification as a branching decision at an internal node Applications Text Filtering (I) Classify a stream of incoming documents dispatched in an asynchronous way by an information producer to an information consumer typical case: a newsfeed (producer: news agency, consumer: newspaper) Desiderata of a filtering system should block the delivery of the documents the consumer is likely not interested in filtering can be seen as a case of single- labeled TC may be installed at the producer end to route the documents to the interested consumer only Builds and updates a profile for each consumer

32 Applications Text Filtering (II) or at consumer end to block the delivery of documents deemed uninteresting A single profile is needed Adaptive filtering a profile is initially specified by the user and is updated by using feedback information provided by the user on the relevance of the delivered messages Applications Customer Relationship Management Incorporates both the distillation and discovery aspects of TM Designed to specifically help companies better understand what their customers want and what think about the company itself Method: 1. Select a suitable set of documents and convert them to a common standard format 2. Extract relevant features and derive a database of documents which are grouped according to the similarity of their content, by exploiting clustering techniques 3. Use categorization tools to assign new incoming customer feedback to the identified categories

33 Applications Product Recommendation Content-based According a personal profile accounting for a set of categories (DVD, computer games, music, etc.) and subcategories (genres) Starting with preferred items authors, titles, brands Recommendation of new releases of course it is not text-content based, but on the purchasing history Collaborative or social According to other customers purchases Customers who bought this book also bought Based on previous annotations by other users and generating a user segmentation A trend is combining both ideas Applications Detecting Spam Spam is, more properly, unsolicited bulk It has been producing a considerable damage to Internet Service Providers Internet users (connection costs) and the whole Internet backbone Spam detection is a Text Categorization problem Two classes: spam and legitimate It relatively easy to Represent messages as vectors of concept weights Perform some feature selection Learn a classifier but evaluation is not so simple because it is a problem in which missclassification costs and class distribution are not symmetric

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction Inverted index Processing Boolean queries Course overview Introduction to Information Retrieval http://informationretrieval.org IIR 1: Boolean Retrieval Hinrich Schütze Institute for Natural

More information

CS105 Introduction to Information Retrieval

CS105 Introduction to Information Retrieval CS105 Introduction to Information Retrieval Lecture: Yang Mu UMass Boston Slides are modified from: http://www.stanford.edu/class/cs276/ Information Retrieval Information Retrieval (IR) is finding material

More information

Information Retrieval

Information Retrieval Information Retrieval Natural Language Processing: Lecture 12 30.11.2017 Kairit Sirts Homework 4 things that seemed to work Bidirectional LSTM instead of unidirectional Change LSTM activation to sigmoid

More information

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

Information Retrieval CS Lecture 01. Razvan C. Bunescu School of Electrical Engineering and Computer Science Information Retrieval CS 6900 Razvan C. Bunescu School of Electrical Engineering and Computer Science bunescu@ohio.edu Information Retrieval Information Retrieval (IR) is finding material of an unstructured

More information

Information Retrieval. Chap 8. Inverted Files

Information Retrieval. Chap 8. Inverted Files Information Retrieval Chap 8. Inverted Files Issues of Term-Document Matrix 500K x 1M matrix has half-a-trillion 0 s and 1 s Usually, no more than one billion 1 s Matrix is extremely sparse 2 Inverted

More information

Classic IR Models 5/6/2012 1

Classic IR Models 5/6/2012 1 Classic IR Models 5/6/2012 1 Classic IR Models Idea Each document is represented by index terms. An index term is basically a (word) whose semantics give meaning to the document. Not all index terms are

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction to Information Retrieval http://informationretrieval.org IIR 1: Boolean Retrieval Hinrich Schütze Institute for Natural Language Processing, University of Stuttgart 2011-05-03 1/ 36 Take-away

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction to Information Retrieval http://informationretrieval.org IIR 1: Boolean Retrieval Hinrich Schütze Center for Information and Language Processing, University of Munich 2014-04-09 Schütze: Boolean

More information

Indexing. Lecture Objectives. Text Technologies for Data Science INFR Learn about and implement Boolean search Inverted index Positional index

Indexing. Lecture Objectives. Text Technologies for Data Science INFR Learn about and implement Boolean search Inverted index Positional index Text Technologies for Data Science INFR11145 Indexing Instructor: Walid Magdy 03-Oct-2017 Lecture Objectives Learn about and implement Boolean search Inverted index Positional index 2 1 Indexing Process

More information

Information Retrieval and Web Search

Information Retrieval and Web Search Information Retrieval and Web Search Introduction to IR models and methods Rada Mihalcea (Some of the slides in this slide set come from IR courses taught at UT Austin and Stanford) Information Retrieval

More information

Reading group on Ontologies and NLP:

Reading group on Ontologies and NLP: Reading group on Ontologies and NLP: Machine Learning27th infebruary Automated 2014 1 / 25 Te Reading group on Ontologies and NLP: Machine Learning in Automated Text Categorization, by Fabrizio Sebastianini.

More information

Unstructured Data Management. Advanced Topics in Database Management (INFSCI 2711)

Unstructured Data Management. Advanced Topics in Database Management (INFSCI 2711) Unstructured Data Management Advanced Topics in Database Management (INFSCI 2711) Textbooks: Database System Concepts - 2010 Introduction to Information Retrieval - 2008 Vladimir Zadorozhny, DINS, SCI,

More information

CSE 7/5337: Information Retrieval and Web Search Introduction and Boolean Retrieval (IIR 1)

CSE 7/5337: Information Retrieval and Web Search Introduction and Boolean Retrieval (IIR 1) CSE 7/5337: Information Retrieval and Web Search Introduction and Boolean Retrieval (IIR 1) Michael Hahsler Southern Methodist University These slides are largely based on the slides by Hinrich Schütze

More information

Introduction to Information Retrieval and Boolean model. Reference: Introduction to Information Retrieval by C. Manning, P. Raghavan, H.

Introduction to Information Retrieval and Boolean model. Reference: Introduction to Information Retrieval by C. Manning, P. Raghavan, H. Introduction to Information Retrieval and Boolean model Reference: Introduction to Information Retrieval by C. Manning, P. Raghavan, H. Schutze 1 Unstructured (text) vs. structured (database) data in late

More information

boolean queries Inverted index query processing Query optimization boolean model September 9, / 39

boolean queries Inverted index query processing Query optimization boolean model September 9, / 39 boolean model September 9, 2014 1 / 39 Outline 1 boolean queries 2 3 4 2 / 39 taxonomy of IR models Set theoretic fuzzy extended boolean set-based IR models Boolean vector probalistic algebraic generalized

More information

Digital Libraries: Language Technologies

Digital Libraries: Language Technologies Digital Libraries: Language Technologies RAFFAELLA BERNARDI UNIVERSITÀ DEGLI STUDI DI TRENTO P.ZZA VENEZIA, ROOM: 2.05, E-MAIL: BERNARDI@DISI.UNITN.IT Contents 1 Recall: Inverted Index..........................................

More information

Information Retrieval. (M&S Ch 15)

Information Retrieval. (M&S Ch 15) Information Retrieval (M&S Ch 15) 1 Retrieval Models A retrieval model specifies the details of: Document representation Query representation Retrieval function Determines a notion of relevance. Notion

More information

Information Retrieval. Information Retrieval and Web Search

Information Retrieval. Information Retrieval and Web Search Information Retrieval and Web Search Introduction to IR models and methods Information Retrieval The indexing and retrieval of textual documents. Searching for pages on the World Wide Web is the most recent

More information

CS 6320 Natural Language Processing

CS 6320 Natural Language Processing CS 6320 Natural Language Processing Information Retrieval Yang Liu Slides modified from Ray Mooney s (http://www.cs.utexas.edu/users/mooney/ir-course/slides/) 1 Introduction of IR System components, basic

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval Information Retrieval and Web Search Lecture 1: Introduction and Boolean retrieval Outline ❶ Course details ❷ Information retrieval ❸ Boolean retrieval 2 Course details

More information

In = number of words appearing exactly n times N = number of words in the collection of words A = a constant. For example, if N=100 and the most

In = number of words appearing exactly n times N = number of words in the collection of words A = a constant. For example, if N=100 and the most In = number of words appearing exactly n times N = number of words in the collection of words A = a constant. For example, if N=100 and the most common word appears 10 times then A = rn*n/n = 1*10/100

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval Lecture 6-: Scoring, Term Weighting Outline Why ranked retrieval? Term frequency tf-idf weighting 2 Ranked retrieval Thus far, our queries have all been Boolean. Documents

More information

A Closeup View. Class Overview CSE 454. Relevance. Retrieval Model Overview. 10/19 IR & Indexing 10/21 Google & Alta.

A Closeup View. Class Overview CSE 454. Relevance. Retrieval Model Overview. 10/19 IR & Indexing 10/21 Google & Alta. Class Overview CSE 454 Infrmation Retrieval & ing Other Cool Stuff Query processing ing IR - Ranking Content Analysis Crawling Network Layer Standard Web Search Engine Architecture 10/19 IR & ing 10/21

More information

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

Information Retrieval CS Lecture 06. Razvan C. Bunescu School of Electrical Engineering and Computer Science Information Retrieval CS 6900 Lecture 06 Razvan C. Bunescu School of Electrical Engineering and Computer Science bunescu@ohio.edu Boolean Retrieval vs. Ranked Retrieval Many users (professionals) prefer

More information

Information Retrieval

Information Retrieval Information Retrieval Suan Lee - Information Retrieval - 06 Scoring, Term Weighting and the Vector Space Model 1 Recap of lecture 5 Collection and vocabulary statistics: Heaps and Zipf s laws Dictionary

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval CS276 Information Retrieval and Web Search Christopher Manning and Prabhakar Raghavan Lecture 1: Boolean retrieval Information Retrieval Information Retrieval (IR)

More information

Chapter 27 Introduction to Information Retrieval and Web Search

Chapter 27 Introduction to Information Retrieval and Web Search Chapter 27 Introduction to Information Retrieval and Web Search Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 27 Outline Information Retrieval (IR) Concepts Retrieval

More information

Chapter 6: Information Retrieval and Web Search. An introduction

Chapter 6: Information Retrieval and Web Search. An introduction Chapter 6: Information Retrieval and Web Search An introduction Introduction n Text mining refers to data mining using text documents as data. n Most text mining tasks use Information Retrieval (IR) methods

More information

Outline of the course

Outline of the course Outline of the course Introduction to Digital Libraries (15%) Description of Information (30%) Access to Information (30%) User Services (10%) Additional topics (15%) Buliding of a (small) digital library

More information

Information Retrieval and Text Mining

Information Retrieval and Text Mining Information Retrieval and Text Mining http://informationretrieval.org IIR 1: Boolean Retrieval Hinrich Schütze & Wiltrud Kessler Institute for Natural Language Processing, University of Stuttgart 2012-10-16

More information

Recap: lecture 2 CS276A Information Retrieval

Recap: lecture 2 CS276A Information Retrieval Recap: lecture 2 CS276A Information Retrieval Stemming, tokenization etc. Faster postings merges Phrase queries Lecture 3 This lecture Index compression Space estimation Corpus size for estimates Consider

More information

Advanced Retrieval Information Analysis Boolean Retrieval

Advanced Retrieval Information Analysis Boolean Retrieval Advanced Retrieval Information Analysis Boolean Retrieval Irwan Ary Dharmawan 1,2,3 iad@unpad.ac.id Hana Rizmadewi Agustina 2,4 hagustina@unpad.ac.id 1) Development Center of Information System and Technology

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Mustafa Jarrar: Lecture Notes on Information Retrieval University of Birzeit, Palestine 2014 Introduction to Information Retrieval Dr. Mustafa Jarrar Sina Institute, University of Birzeit mjarrar@birzeit.edu

More information

Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology

Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology M. Soleymani Fall 2016 Most slides have been adapted from: Profs. Manning, Nayak & Raghavan lectures

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction to Information Retrieval Mohsen Kamyar چهارمین کارگاه ساالنه آزمایشگاه فناوری و وب بهمن ماه 1391 Outline Outline in classic categorization Information vs. Data Retrieval IR Models Evaluation

More information

Basic techniques. Text processing; term weighting; vector space model; inverted index; Web Search

Basic techniques. Text processing; term weighting; vector space model; inverted index; Web Search Basic techniques Text processing; term weighting; vector space model; inverted index; Web Search Overview Indexes Query Indexing Ranking Results Application Documents User Information analysis Query processing

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval CS276 Information Retrieval and Web Search Pandu Nayak and Prabhakar Raghavan Lecture 1: Boolean retrieval Information Retrieval Information Retrieval (IR) is finding

More information

Boolean Retrieval. Manning, Raghavan and Schütze, Chapter 1. Daniël de Kok

Boolean Retrieval. Manning, Raghavan and Schütze, Chapter 1. Daniël de Kok Boolean Retrieval Manning, Raghavan and Schütze, Chapter 1 Daniël de Kok Boolean query model Pose a query as a boolean query: Terms Operations: AND, OR, NOT Example: Brutus AND Caesar AND NOT Calpuria

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval CS3245 Information Retrieval Lecture 2: Boolean retrieval 2 Blanks on slides, you may want to fill in Last Time: Ngram Language Models Unigram LM: Bag of words Ngram

More information

Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology

Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology M. Soleymani Fall 2013 Most slides have been adapted from: Profs. Manning, Nayak & Raghavan (CS-276,

More information

- Content-based Recommendation -

- Content-based Recommendation - - Content-based Recommendation - Institute for Software Technology Inffeldgasse 16b/2 A-8010 Graz Austria 1 Content-based recommendation While CF methods do not require any information about the items,

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction to Information Retrieval http://informationretrieval.org IIR 5: Index Compression Hinrich Schütze Center for Information and Language Processing, University of Munich 2014-04-17 1/59 Overview

More information

Introducing Information Retrieval and Web Search. borrowing from: Pandu Nayak

Introducing Information Retrieval and Web Search. borrowing from: Pandu Nayak Introducing Information Retrieval and Web Search borrowing from: Pandu Nayak Information Retrieval Information Retrieval (IR) is finding material (usually documents) of an unstructured nature (usually

More information

Models for Document & Query Representation. Ziawasch Abedjan

Models for Document & Query Representation. Ziawasch Abedjan Models for Document & Query Representation Ziawasch Abedjan Overview Introduction & Definition Boolean retrieval Vector Space Model Probabilistic Information Retrieval Language Model Approach Summary Overview

More information

CSCI 5417 Information Retrieval Systems! What is Information Retrieval?

CSCI 5417 Information Retrieval Systems! What is Information Retrieval? CSCI 5417 Information Retrieval Systems! Lecture 1 8/23/2011 Introduction 1 What is Information Retrieval? Information retrieval is the science of searching for information in documents, searching for

More information

Information Retrieval and Organisation

Information Retrieval and Organisation Information Retrieval and Organisation Dell Zhang Birkbeck, University of London 2016/17 IR Chapter 01 Boolean Retrieval Example IR Problem Let s look at a simple IR problem Suppose you own a copy of Shakespeare

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval Boolean retrieval Basic assumptions of Information Retrieval Collection: Fixed set of documents Goal: Retrieve documents with information that is relevant to the user

More information

INFO 4300 / CS4300 Information Retrieval. slides adapted from Hinrich Schütze s, linked from

INFO 4300 / CS4300 Information Retrieval. slides adapted from Hinrich Schütze s, linked from INFO 4300 / CS4300 Information Retrieval slides adapted from Hinrich Schütze s, linked from http://informationretrieval.org/ IR 6: Index Compression Paul Ginsparg Cornell University, Ithaca, NY 15 Sep

More information

Information Retrieval

Information Retrieval Information Retrieval Suan Lee - Information Retrieval - 01 Boolean Retrieval 1 01 Boolean Retrieval - Information Retrieval - 01 Boolean Retrieval 2 Introducing Information Retrieval and Web Search -

More information

James Mayfield! The Johns Hopkins University Applied Physics Laboratory The Human Language Technology Center of Excellence!

James Mayfield! The Johns Hopkins University Applied Physics Laboratory The Human Language Technology Center of Excellence! James Mayfield! The Johns Hopkins University Applied Physics Laboratory The Human Language Technology Center of Excellence! (301) 219-4649 james.mayfield@jhuapl.edu What is Information Retrieval? Evaluation

More information

CS473: Course Review CS-473. Luo Si Department of Computer Science Purdue University

CS473: Course Review CS-473. Luo Si Department of Computer Science Purdue University CS473: CS-473 Course Review Luo Si Department of Computer Science Purdue University Basic Concepts of IR: Outline Basic Concepts of Information Retrieval: Task definition of Ad-hoc IR Terminologies and

More information

1Boolean retrieval. information retrieval. term search is quite ambiguous, but in context we use the two synonymously.

1Boolean retrieval. information retrieval. term search is quite ambiguous, but in context we use the two synonymously. 1Boolean retrieval information retrieval The meaning of the term information retrieval (IR) can be very broad. Just getting a credit card out of your wallet so that you can type in the card number is a

More information

Administrative. Distributed indexing. Index Compression! What I did last summer lunch talks today. Master. Tasks

Administrative. Distributed indexing. Index Compression! What I did last summer lunch talks today. Master. Tasks Administrative Index Compression! n Assignment 1? n Homework 2 out n What I did last summer lunch talks today David Kauchak cs458 Fall 2012 adapted from: http://www.stanford.edu/class/cs276/handouts/lecture5-indexcompression.ppt

More information

Information Retrieval

Information Retrieval Information Retrieval CSC 375, Fall 2016 An information retrieval system will tend not to be used whenever it is more painful and troublesome for a customer to have information than for him not to have

More information

CS 572: Information Retrieval. Lecture 2: Hello World! (of Text Search)

CS 572: Information Retrieval. Lecture 2: Hello World! (of Text Search) CS 572: Information Retrieval Lecture 2: Hello World! (of Text Search) 1/13/2016 CS 572: Information Retrieval. Spring 2016 1 Course Logistics Lectures: Monday, Wed: 11:30am-12:45pm, W301 Following dates

More information

INFO 4300 / CS4300 Information Retrieval. slides adapted from Hinrich Schütze s, linked from

INFO 4300 / CS4300 Information Retrieval. slides adapted from Hinrich Schütze s, linked from INFO 4300 / CS4300 Information Retrieval slides adapted from Hinrich Schütze s, linked from http://informationretrieval.org/ IR 1: Boolean Retrieval Paul Ginsparg Cornell University, Ithaca, NY 27 Aug

More information

Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology

Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology Boolean retrieval & basics of indexing CE-324: Modern Information Retrieval Sharif University of Technology M. Soleymani Fall 2015 Most slides have been adapted from: Profs. Manning, Nayak & Raghavan lectures

More information

Web Information Retrieval. Lecture 2 Tokenization, Normalization, Speedup, Phrase Queries

Web Information Retrieval. Lecture 2 Tokenization, Normalization, Speedup, Phrase Queries Web Information Retrieval Lecture 2 Tokenization, Normalization, Speedup, Phrase Queries Recap of the previous lecture Basic inverted indexes: Structure: Dictionary and Postings Key step in construction:

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction to Information Retrieval (Supplementary Material) Zhou Shuigeng March 23, 2007 Advanced Distributed Computing 1 Text Databases and IR Text databases (document databases) Large collections

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction to Information Retrieval http://informationretrieval.org IIR 1: Boolean Retrieval Hinrich Schütze Institute for Natural Language Processing, Universität Stuttgart 2008.04.22 Schütze: Boolean

More information

Search: the beginning. Nisheeth

Search: the beginning. Nisheeth Search: the beginning Nisheeth Interdisciplinary area Information retrieval NLP Search Machine learning Human factors Outline Components Crawling Processing Indexing Retrieval Evaluation Research areas

More information

CSCI 5417 Information Retrieval Systems Jim Martin!

CSCI 5417 Information Retrieval Systems Jim Martin! CSCI 5417 Information Retrieval Systems Jim Martin! Lecture 4 9/1/2011 Today Finish up spelling correction Realistic indexing Block merge Single-pass in memory Distributed indexing Next HW details 1 Query

More information

Part 2: Boolean Retrieval Francesco Ricci

Part 2: Boolean Retrieval Francesco Ricci Part 2: Boolean Retrieval Francesco Ricci Most of these slides comes from the course: Information Retrieval and Web Search, Christopher Manning and Prabhakar Raghavan Content p Term document matrix p Information

More information

Text Mining. Representation of Text Documents

Text Mining. Representation of Text Documents Data Mining is typically concerned with the detection of patterns in numeric data, but very often important (e.g., critical to business) information is stored in the form of text. Unlike numeric data,

More information

Introduction to Information Retrieval

Introduction to Information Retrieval Boolean model and Inverted index Processing Boolean queries Why ranked retrieval? Introduction to Information Retrieval http://informationretrieval.org IIR 1: Boolean Retrieval Hinrich Schütze Institute

More information

Corso di Biblioteche Digitali

Corso di Biblioteche Digitali Corso di Biblioteche Digitali Vittore Casarosa casarosa@isti.cnr.it tel. 050-315 3115 cell. 348-397 2168 Ricevimento dopo la lezione o per appuntamento Valutazione finale 70-75% esame orale 25-30% progetto

More information

Lecture 1: Introduction and the Boolean Model

Lecture 1: Introduction and the Boolean Model Lecture 1: Introduction and the Boolean Model Information Retrieval Computer Science Tripos Part II Helen Yannakoudakis 1 Natural Language and Information Processing (NLIP) Group helen.yannakoudakis@cl.cam.ac.uk

More information

Data Modelling and Multimedia Databases M

Data Modelling and Multimedia Databases M ALMA MATER STUDIORUM - UNIERSITÀ DI BOLOGNA Data Modelling and Multimedia Databases M International Second cycle degree programme (LM) in Digital Humanities and Digital Knoledge (DHDK) University of Bologna

More information

Ges$one Avanzata dell Informazione Part A Full- Text Informa$on Management. Full- Text Indexing

Ges$one Avanzata dell Informazione Part A Full- Text Informa$on Management. Full- Text Indexing Ges$one Avanzata dell Informazione Part A Full- Text Informa$on Management Full- Text Indexing Contents } Introduction } Inverted Indices } Construction } Searching 2 GAvI - Full- Text Informa$on Management:

More information

Information Retrieval

Information Retrieval Information Retrieval Suan Lee - Information Retrieval - 04 Index Construction 1 04 Index Construction - Information Retrieval - 04 Index Construction 2 Plan Last lecture: Dictionary data structures Tolerant

More information

FRONT CODING. Front-coding: 8automat*a1 e2 ic3 ion. Extra length beyond automat. Encodes automat. Begins to resemble general string compression.

FRONT CODING. Front-coding: 8automat*a1 e2 ic3 ion. Extra length beyond automat. Encodes automat. Begins to resemble general string compression. Sec. 5.2 FRONT CODING Front-coding: Sorted words commonly have long common prefix store differences only (for last k-1 in a block of k) 8automata8automate9automatic10automation 8automat*a1 e2 ic3 ion Encodes

More information

Informa(on Retrieval

Informa(on Retrieval Introduc)on to Informa)on Retrieval CS3245 Informa(on Retrieval Lecture 7: Scoring, Term Weigh9ng and the Vector Space Model 7 Last Time: Index Construc9on Sort- based indexing Blocked Sort- Based Indexing

More information

Knowledge Retrieval. Franz J. Kurfess. Computer Science Department California Polytechnic State University San Luis Obispo, CA, U.S.A.

Knowledge Retrieval. Franz J. Kurfess. Computer Science Department California Polytechnic State University San Luis Obispo, CA, U.S.A. Knowledge Retrieval Franz J. Kurfess Computer Science Department California Polytechnic State University San Luis Obispo, CA, U.S.A. 1 Acknowledgements This lecture series has been sponsored by the European

More information

Hebei University of Technology A Text-Mining-based Patent Analysis in Product Innovative Process

Hebei University of Technology A Text-Mining-based Patent Analysis in Product Innovative Process A Text-Mining-based Patent Analysis in Product Innovative Process Liang Yanhong, Tan Runhua Abstract Hebei University of Technology Patent documents contain important technical knowledge and research results.

More information

Multimedia Information Extraction and Retrieval Term Frequency Inverse Document Frequency

Multimedia Information Extraction and Retrieval Term Frequency Inverse Document Frequency Multimedia Information Extraction and Retrieval Term Frequency Inverse Document Frequency Ralf Moeller Hamburg Univ. of Technology Acknowledgement Slides taken from presentation material for the following

More information

3-2. Index construction. Most slides were adapted from Stanford CS 276 course and University of Munich IR course.

3-2. Index construction. Most slides were adapted from Stanford CS 276 course and University of Munich IR course. 3-2. Index construction Most slides were adapted from Stanford CS 276 course and University of Munich IR course. 1 Ch. 4 Index construction How do we construct an index? What strategies can we use with

More information

Multimedia Information Systems

Multimedia Information Systems Multimedia Information Systems Samson Cheung EE 639, Fall 2004 Lecture 6: Text Information Retrieval 1 Digital Video Library Meta-Data Meta-Data Similarity Similarity Search Search Analog Video Archive

More information

Lecture 1: Introduction and Overview

Lecture 1: Introduction and Overview Lecture 1: Introduction and Overview Information Retrieval Computer Science Tripos Part II Simone Teufel Natural Language and Information Processing (NLIP) Group Simone.Teufel@cl.cam.ac.uk Lent 2014 1

More information

Introduction to Information Retrieval IIR 1: Boolean Retrieval

Introduction to Information Retrieval IIR 1: Boolean Retrieval .. Introduction to Information Retrieval IIR 1: Boolean Retrieval Mihai Surdeanu (Based on slides by Hinrich Schütze at informationretrieval.org) Fall 2014 Boolean Retrieval 1 / 77 Take-away Why you should

More information

Behrang Mohit : txt proc! Review. Bag of word view. Document Named

Behrang Mohit : txt proc! Review. Bag of word view. Document  Named Intro to Text Processing Lecture 9 Behrang Mohit Some ideas and slides in this presenta@on are borrowed from Chris Manning and Dan Jurafsky. Review Bag of word view Document classifica@on Informa@on Extrac@on

More information

CS347. Lecture 2 April 9, Prabhakar Raghavan

CS347. Lecture 2 April 9, Prabhakar Raghavan CS347 Lecture 2 April 9, 2001 Prabhakar Raghavan Today s topics Inverted index storage Compressing dictionaries into memory Processing Boolean queries Optimizing term processing Skip list encoding Wild-card

More information

TEXT PREPROCESSING FOR TEXT MINING USING SIDE INFORMATION

TEXT PREPROCESSING FOR TEXT MINING USING SIDE INFORMATION TEXT PREPROCESSING FOR TEXT MINING USING SIDE INFORMATION Ms. Nikita P.Katariya 1, Prof. M. S. Chaudhari 2 1 Dept. of Computer Science & Engg, P.B.C.E., Nagpur, India, nikitakatariya@yahoo.com 2 Dept.

More information

Chapter 3 - Text. Management and Retrieval

Chapter 3 - Text. Management and Retrieval Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 3 - Text Management and Retrieval Literature: Baeza-Yates, R.;

More information

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

A Survey Of Different Text Mining Techniques Varsha C. Pande 1 and Dr. A.S. Khandelwal 2 A Survey Of Different Text Mining Techniques Varsha C. Pande 1 and Dr. A.S. Khandelwal 2 1 Department of Electronics & Comp. Sc, RTMNU, Nagpur, India 2 Department of Computer Science, Hislop College, Nagpur,

More information

Today s topics CS347. Inverted index storage. Inverted index storage. Processing Boolean queries. Lecture 2 April 9, 2001 Prabhakar Raghavan

Today s topics CS347. Inverted index storage. Inverted index storage. Processing Boolean queries. Lecture 2 April 9, 2001 Prabhakar Raghavan Today s topics CS347 Lecture 2 April 9, 2001 Prabhakar Raghavan Inverted index storage Compressing dictionaries into memory Processing Boolean queries Optimizing term processing Skip list encoding Wild-card

More information

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

Shrey Patel B.E. Computer Engineering, Gujarat Technological University, Ahmedabad, Gujarat, India International Journal of Scientific Research in Computer Science, Engineering and Information Technology 2018 IJSRCSEIT Volume 3 Issue 3 ISSN : 2456-3307 Some Issues in Application of NLP to Intelligent

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval Lecture 4: Index Construction 1 Plan Last lecture: Dictionary data structures Tolerant retrieval Wildcards Spell correction Soundex a-hu hy-m n-z $m mace madden mo

More information

Information Retrieval

Information Retrieval Introduction to Information Retrieval Introducing Information Retrieval and Web Search Information Retrieval Information Retrieval (IR) is finding material (usually documents) of an unstructurednature

More information

index construct Overview Overview Recap How to construct index? Introduction Index construction Introduction to Recap

index construct Overview Overview Recap How to construct index? Introduction Index construction Introduction to Recap to to Information Retrieval Index Construct Ruixuan Li Huazhong University of Science and Technology http://idc.hust.edu.cn/~rxli/ October, 2012 1 2 How to construct index? Computerese term document docid

More information

Information Retrieval. hussein suleman uct cs

Information Retrieval. hussein suleman uct cs Information Management Information Retrieval hussein suleman uct cs 303 2004 Introduction Information retrieval is the process of locating the most relevant information to satisfy a specific information

More information

COMP6237 Data Mining Searching and Ranking

COMP6237 Data Mining Searching and Ranking COMP6237 Data Mining Searching and Ranking Jonathon Hare jsh2@ecs.soton.ac.uk Note: portions of these slides are from those by ChengXiang Cheng Zhai at UIUC https://class.coursera.org/textretrieval-001

More information

Query Languages. Berlin Chen Reference: 1. Modern Information Retrieval, chapter 4

Query Languages. Berlin Chen Reference: 1. Modern Information Retrieval, chapter 4 Query Languages Berlin Chen 2005 Reference: 1. Modern Information Retrieval, chapter 4 Data retrieval Pattern-based querying The Kinds of Queries Retrieve docs that contains (or exactly match) the objects

More information

Information Retrieval. Chap 7. Text Operations

Information Retrieval. Chap 7. Text Operations Information Retrieval Chap 7. Text Operations The Retrieval Process user need User Interface 4, 10 Text Text logical view Text Operations logical view 6, 7 user feedback Query Operations query Indexing

More information

F. Aiolli - Sistemi Informativi 2006/2007

F. Aiolli - Sistemi Informativi 2006/2007 Text Categorization Text categorization (TC - aka text classification) is the task of buiding text classifiers, i.e. sofware systems that classify documents from a domain D into a given, fixed set C =

More information

Chapter 2. Architecture of a Search Engine

Chapter 2. Architecture of a Search Engine Chapter 2 Architecture of a Search Engine Search Engine Architecture A software architecture consists of software components, the interfaces provided by those components and the relationships between them

More information

Index construction CE-324: Modern Information Retrieval Sharif University of Technology

Index construction CE-324: Modern Information Retrieval Sharif University of Technology Index construction CE-324: Modern Information Retrieval Sharif University of Technology M. Soleymani Fall 2014 Most slides have been adapted from: Profs. Manning, Nayak & Raghavan (CS-276, Stanford) Ch.

More information

n Tuesday office hours changed: n 2-3pm n Homework 1 due Tuesday n Assignment 1 n Due next Friday n Can work with a partner

n Tuesday office hours changed: n 2-3pm n Homework 1 due Tuesday n Assignment 1 n Due next Friday n Can work with a partner Administrative Text Pre-processing and Faster Query Processing" David Kauchak cs458 Fall 2012 adapted from: http://www.stanford.edu/class/cs276/handouts/lecture2-dictionary.ppt Tuesday office hours changed:

More information

Module II: Multimedia Data Mining

Module II: Multimedia Data Mining ALMA MATER STUDIORUM - UNIVERSITÀ DI BOLOGNA Module II: Multimedia Data Mining Laurea Magistrale in Ingegneria Informatica University of Bologna Semantic Multimedia Data Annotation Home page: http://www-db.disi.unibo.it/courses/dm/

More information

60-538: Information Retrieval

60-538: Information Retrieval 60-538: Information Retrieval September 7, 2017 1 / 48 Outline 1 what is IR 2 3 2 / 48 Outline 1 what is IR 2 3 3 / 48 IR not long time ago 4 / 48 5 / 48 now IR is mostly about search engines there are

More information