2 Structured Vs Unstructured Data Coperate information not stored in the databaseIn General* The structure of the data itself.* The structure of the container that hosts the data.* The structure of the access method used to access the data.
3 Information Retrieval Systems (IRS) Information-retrieval systems are used to store and query textual data such as documents. They use a simpler data model than do database systems. Traditional examples of information- retrieval systems are online library catalogs and online document-management systems such as those that store newspaper articles.
4 Characteristics of IRS Documents are typically described by a set of keywords.Information in the database is organized simply as a collection of unstructured documents.Cares less about transactional requirements.
5 Relevance Ranking Using Terms (Keywords) Hyperlinks (WEB) Ranking Using TF-IDFSimilarity-Based RetrievalHyperlinks (WEB)Popularity Ranking (prestige ranking)PageRankCombining TF-IDF and Popularity Ranking Measures
6 Ranking using TF-IDF Σ (TF(d,ti)) Term Frequency (TF) – Relevance of a document (d) to a term (t).“Multiple Keyword” Queries ?nΣ (TF(d,ti))i=1
7 Inverse document frequency (IDF) Query: “Facebook Ugo”???.Relevance therefore:Proximity??? The closer the word to each other in the document, the higher the rank.
8 Similarity-Based Retrieval Retrieve document similar to another.Similarity may be defined on the basics of terms.Cosine similarity metricsRelevance feedback – start new search based on user feedback on prior search.
9 Hyperlink Popularity Ranking Rank “popular” documents higher among set of documents with specific keywords.Determining “Popularity”Access rate ?How to get accurate data?Bookmarks?Might be private?Links to related pages?Using web crawler to analyze external links.
10 transfer of prestigea link from a popular page x to a page y is treated as conferring more prestige to page y than a link from a not-so-popular page z.
11 PageRankA measure of popularity of a page based on the popularity of pages that link to the page.Understanding PageRank.Random walk model:The PageRank of a page is the probability that a random walker is visiting a page at any given point in time.Drawback:does not take query keywords into account.
12 Other Measures of Popularity Click fractionsearch engine provides an indirect link through the search engine site, which records the page click, and transparently redirects the browser to the original link.Anchor text + Page RankAnchor text + Page Rank + TF–IDF measures
13 The HITS algorithm: Hubs and Authorities compute popularity using set of related pages only.Hubs and AuthoritiesHub - A page that stores links to many related pages (may not in itself contain actual information on a topic)Authority - A page that contains actual information on a topic (may not store links to many related pages).Each page gets a prestige value as a hub (hub- prestige), and another prestige value as an authority (authority-prestige).
14 Search Engine Spamming Practice of creating Web pages, or sets of Web pages, designed to get a high relevance rank for some queries, even though the sites are not actually popular sites.
15 Synonyms, Homonyms, and Ontologies Define alternative words for keywordsE.g Class room <==> (Class or Lecture) roomHomonymssingle words with multiple meaningsConcept-based queryinganalyze each document to disambiguate each word in the document, and replace it with the concept that it represents; disambiguation is usually done by looking at other surrounding words in the document.
16 Ontologies are hierarchical structures that reﬂect relationships between concepts. Common relationships include: is – a, part of,.. etc.
17 Indexing of Documents Inverted index maps each keyword Ki to a list Si of the documents that contain Ki.Document 1 (d1), Document 2 (d2), Document 3 (d3)56,89, , 18,Inverted Index = “d1/56,89,201; d2/12,18,19; d3/5”*May also include Term Frequency in documents.
18 Measuring Retrieval Effectiveness Keywords are maintained in a compressed form (to keep space usage of the index low).index sometimes stored such that the retrieval is approximate; a few relevant documents may not be retrieved (called a false drop or false negative), or a few irrelevant documents may be retrieved (called a false positive).
19 Measurement metrics Precision Recall measures the percentage retrieved documents relevant to a given query.RecallMeasures percentage of the documents (relevant to the query) retrieved.
20 Beyond Page Ranking Information Extraction Question Answering convert information from textual form to a more structured form.Sample application: google scholar.Question Answeringsystem attempts to provide direct answers to questions posed by users.
21 SummaryInformation-retrieval systems are used to store and query textual data such as documents.Queries attempt to locate documents that are of interest by specifying, for example, sets of keywords.Relevance ranking makes use of several types of information, such as:◦ Term frequency: how important each term is to each document.◦ Inverse document frequency.◦ Popularity ranking.
22 Search engine spamming attempts to get (an undeserved) high ranking for a page. • Synonyms and homonyms complicate the task of information retrieval. Concept- based querying aims at finding documents containing specified concepts, regardless of the exact words (or language) in which the concept is specified. Ontologies are used to relate concepts using relationships such as is-a or part-of.Inverted indices are used to answer keyword queries.Precision and recall are two measures of the effectiveness of an information retrieval system.Techniques have been developed to extract structured information from textual data and to give direct answers to simple questions posed in natural language.