Docsity

Text Analysis - E-Commerce - Lecture Slides, Slides of Fundamentals of E-Commerce

Partial preview of the text

Download Text Analysis - E-Commerce - Lecture Slides and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

Modeling the Internet and the Web:

Text Analysis

Outline

Indexing

Lexical processing - Content-based ranking - Probabilistic retrieval - Latent semantic analysis - Text categorization - Exploiting hyperlinks - Document clustering - Information extraction

Indexing

Inverted index

effective for very large collections of documents

associates lexical items to their occurrences in thecollection

Terms

ωωωω

lexical items: words or expressions

Vocabulary

V

the set of terms of interest

Inverted Index

The simplest example

a dictionary

each key is a term ωωωω ∈∈∈∈ V - associated value b( ωωωω ) points to a bucket (posting list) - a bucket is a list of pointers marking all occurrences of ωωωω in the text collection

Inverted Index

Inverted Index Construction

Parse documents

Extract terms

ωωωω i

if

i^ is not present

insert ωωωω i^ in the inverted index

Insert the occurrence in the bucket

Inverted Index Implementation

Size =

(|V|)

Implemented using a hash table

Buckets stored in memory

construction algorithm is trivial

Buckets stored on disk

impractical due to disk assess time

use specialized secondary memory algorithms