Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started