1 / 9

Modern Information Retrieval

Modern Information Retrieval. Chapter 4 Query Languages. The type of query the user might formulate is largely dependent on the underlying information retrieval model. Keyword-based querying single-word queries text documents are long sequences of words

makaio
Download Presentation

Modern Information Retrieval

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Modern Information Retrieval Chapter 4 Query Languages

  2. The type of query the user might formulate is largely dependent on the underlying information retrieval model

  3. Keyword-based querying • single-word queries • text documents are long sequences of words • ranking of results by term frequency and inverse document frequency • exact positions where the query word appears may need to be output

  4. context queries • to search words near other words • phrase query: a sequence of single-words • enhance retrieval • proximity query: a sequence of single-words with a maximum allowed distance between them • enhance the power of retrieval • the words may or may not be required to appear in the same order as in the query

  5. Boolean queries • e1 BUT e2

  6. Pattern matching • types of patterns • word: computer • prefix of a word: comput • suffix of a word: ter • substring of a word: ute • range formed by two words in lexicographical order: communication and computer

  7. word with an error threshold • edit distance: minimum number of character insertions, deletions, and replacements needed to make the query and the target equal • Computeers • Unit cost edit distance • W(ab)=1, ab (Replacement) • W(a  )=W(b)=1 (Deletion and Insertion)

  8. Given any two strings S1=abac, S2=aaccb • Evaluated by dynamic programming method • The edit distance is 3 a b a c c b (1 deletion, 2 insertions) a a c c b

  9. regular expression • a regular expression is a pattern built up by simple strings and the union, concatenation and repetition operators • pro(blem︱tein)(s︱ε)(0︱1︱2)*

More Related