Use postings intersection procedure to find list of document

Assignment Help Basic Computer Science
Reference no: EM1370433

Suppose we wish to use a postings intersection procedure to determine simply the list of documents that satisfy a /k clause, rather than returning the list of positions, as in Figure 2.12 (page 42). For simplicity, assume k ≥ 2. Let L denote the total number of occurrences of the two terms in the document collection (i.e., the sum of their collection frequencies). Which of the following is true? Justify your answer.

a. The merge can be accomplished in a number of steps linear in L and independent of k, and we can ensure that each pointer moves only to the right.

b. The merge can be accomplished in a number of steps linear in L and independent of k, but a pointer may be forced to move non-monotonically (i.e., to sometimes back up)

c. The merge can require kL steps in some cases.
Figure 2.12 can be found from this pdf file - https://nlp.stanford.edu/IR-book/pdf/02voc.pdf

Q2.
How should the Boolean query x AND NOT y be handled? Why is naive evaluation of this query normally very expensive? Write out a postings merge algorithm that evaluates this query efficiently.

Q3.
If all the hub and authority scores are initialized to 1, what is the hub/authority score of a node after one iteration?

Q4.
In the preceding discussion we encountered two recommended "hard constants" - the increment on te being ten times the last fetch time, and the number of back queues being three times the number of crawl threads. How are these two constants related?

Reference no: EM1370433

Questions Cloud

Information about marginal costs : A driver wishes to buy gasoline and have her car washed. She finds that the wash costs $3.00 when she buys 19 gallons at $1.00 each, but that if she buys 20 gallons, the car wash is free. Thus the marginal cost of the twentieth gallon of gas is:
Philanthropy and charity : Explain the difference between philanthropy and charity. Use examples from private and non-profit sectors to illustrate these differences.
Explain the theory of operant conditioning : Explain the theory of operant conditioning and Compare and contrast positive and negative reinforcement and Determine which form of reinforcement is the most effective
Present value analysis : Determine which of following independent projects should be selected for investment if $325,000 is available and the MARR is 10 percent per year
Use postings intersection procedure to find list of document : Assume we want to use postings intersection procedure to find simply the list of documents which satisfy a /k clause, rather than returning list of positions.
Explain and identify ways in which individual elements : Explain and Identify ways in which individual elements of the national economic environment affect the business environment
Producers-consumers and competitive markets : Assume that the competitive firm's marginal cost of producing output q is given by MC(q)=3+2q. Suppose that the market price of the firm's product is $9. Find out level of output will the firm produce?
Explain what changes should be made to copyright law : Explain What changes should be made to copyright law to reflect the ease with which much creative material can be reproduced and distributed over the Internet
Create program to randomly access data on stocks : A small mutual company wishes you to create program to randomly access data on stocks it holds. Presently, data are stored in a text file, each line of which contains following: a stock code.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How to use system tools to identify problems

How can you use system tools, such as the Task Manager, to help identify and troubleshoot these problems? Report your findings in a one page paper.

  Public peering and private peering in net neutrality

What is the difference between "public peering" and "private peering"?

  Condition to resume sending messages related to application

Give an example that illustrates why P must not be allowed to do so and state a condition that defines when P may resume sending messages related to application.

  Question in unix os

What if we need the portion from a text based on some keyword. Now i want the middle portion where i found EO427849242. I tried with sed but it does not give me the desired result.

  Assigning value to last array of array list

Write a statement that assigns the value 160000 to the last element of the ArrayList salaryStep.

  State whether each reference is hit or a miss

Assume a cache has 16 1-word blocks and is initially empty. Placement is by direct mapping. Also, state whether each reference is a hit or a miss.

  Finding content of ac and memory word at specified address

What are the content of the AC and the memory word at address 103 when the computer halts.

  Explaining drain corporate budgets and ultimately profits

First of all it eliminates requirement of hardware, downloads and implementations which drain corporate budgets and ultimately profits. It takes companies only a third of the expenses that they will incurred to have their companies running.

  Explain effects of compaction on normal processing

What about if you upgrade to memory that can be read or written to in 1nsec? Comment briefly on the effects of compaction on normal processing.

  Explain type to reveal computer to be computer

Explain why you think these questions would be the type to "reveal" the computer to be a computer? Why would these responses have to be given a human begin?

  How many units of each component ordered from each supplier

If the Edwards production plan for the next period includes 1000 units of component 1 and 800 units of component 2, how many units of each component (C1, C2) should be ordered from each supplier (S1, S2, S3)?

  Probability of exactly k collisions and then success

Large population of ALOHA users manage to create 50 requests/sec., including both originals and retransmissions. Time is slotted in units of 40 msec. Compute the probability of exactly K collisions and then a success?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd