Question: Exercise 27.2 Assunle you are given a docurnent database that contains sx documents. After stemming, the docurnents contain the following ternlS: Terrns car rnanufacturer Honda

 Exercise 27.2 Assunle you are given a docurnent database that containssx documents. After stemming, the docurnents contain the following ternlS: Terrns car

Exercise 27.2 Assunle you are given a docurnent database that contains sx documents. After stemming, the docurnents contain the following ternlS: Terrns car rnanufacturer Honda auto auto cornputer navgation Honda navigation 1 llanufactllrer cOlnputer IBM IBNI personal cOInputer Docimenl 4 car Beetle VW Answer the following questions 1. 8holv the result of creating an inverted file on the docurnents 2. Show the result of creating a signature file with a width of 5 bits. Construct your own hashing function that rnaps terms to bit positions. 3. Evaluate the following boolea.n queries using the inverted file and the signature file that 'IBM' .car', .IBM1 'auto.' you created: 'car. 'IBM' AND 'COluputer. AND 'computer' AND 'rnanufacturer' AND OR and .IBM, 4. Assurne that the querv loacl against the docurnent databa.se consists ofexactlv the queries that were stated in the previous question. Also assume that each of these queries is evaluated exactlv oncc (a) Design a signature file with a width of 3 bits and design a hashing function that minimizes the overall nurnber of false positives retrieved when evaluating the Exercise 27.2 Assunle you are given a docurnent database that contains sx documents. After stemming, the docurnents contain the following ternlS: Terrns car rnanufacturer Honda auto auto cornputer navgation Honda navigation 1 llanufactllrer cOlnputer IBM IBNI personal cOInputer Docimenl 4 car Beetle VW Answer the following questions 1. 8holv the result of creating an inverted file on the docurnents 2. Show the result of creating a signature file with a width of 5 bits. Construct your own hashing function that rnaps terms to bit positions. 3. Evaluate the following boolea.n queries using the inverted file and the signature file that 'IBM' .car', .IBM1 'auto.' you created: 'car. 'IBM' AND 'COluputer. AND 'computer' AND 'rnanufacturer' AND OR and .IBM, 4. Assurne that the querv loacl against the docurnent databa.se consists ofexactlv the queries that were stated in the previous question. Also assume that each of these queries is evaluated exactlv oncc (a) Design a signature file with a width of 3 bits and design a hashing function that minimizes the overall nurnber of false positives retrieved when evaluating the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!