{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

G nd all web pages dealing with drug abuse classic

Info icon This 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: But we now need to deal with more than just equality Introduc)on to Informa)on Retrieval Sec. 2.4.2 Processing a phrase query §༊  Extract inverted index entries for each dis*nct term: to, be, or, not. §༊  Merge their doc:posi)on lists to enumerate all posi*ons with “to be or not to be”. §༊  to: §༊  2:1,17,74,222,551; 4:8,16,190,429,433; 7:13,23,191; ... §༊  be: §༊  1:17,19; 4:17,191,291,430,434; 5:14,19,101; ... §༊  Same general method for proximity searches Introduc)on to Informa)on Retrieval Sec. 2.4.2 Proximity queries §༊  LIMIT! /3 STATUTE /3 FEDERAL /2 TORT §༊  Again, here, /k means “within k words of”. §༊  Clearly, posi*onal indexes can be used for such queries; biword indexes cannot. §༊  Exercise: Adapt the linear merge of pos*ngs to handle proximity queries. Can you make it work for any value of k? §༊  This is a li_le tricky to do correctly and efficiently §༊  See Figure 2.12 of IIR Introduc)on to Informa)on Retrieval Sec. 2.4.2 Posi*onal...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern