IR-part1

To answer query take the vectors for brutus caesar and

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ountrymen) not feasible §༊  Ranked retrieval (best documents to return) §༊  Later lectures 10 Introduc)on to Informa)on Retrieval S ec. 1.1 Term- document incidence matrices Antony and Cleopatra Julius Caesar The Tempest Hamlet Othello Macbeth Antony 1 1 0 0 0 1 Brutus 1 1 0 1 0 0 Caesar 1 1 0 1 1 1 Calpurnia 0 1 0 0 0 0 Cleopatra 1 0 0 0 0 0 mercy 1 0 1 1 1 1 worser 1 0 1 1 1 0 Brutus AND Caesar BUT NOT Calpurnia 1 if play contains word, 0 otherwise Introduc)on to Informa)on Retrieval Sec. 1.1 Incidence vectors §༊  So we have a 0/1 vector for each term. §༊  To answer query: take the vectors for Brutus, Caesar and Calpurnia (complemented) è༎ bitwise AND. §༊  §༊  §༊  §༊  110100 AND 110111 AND 101111 = 100100 Antony and Cleopatra Julius Caesar The Tempest Hamlet Othello Macbeth Antony 1 1 0 0 0 1 Brutus 1 1 0 1 0 0 Caesar 1 1 0 1 1 1 Calpurnia 0 1 0 0 0 0 Cle...
View Full Document

Ask a homework question - tutors are online