1. Engineering
  2. Computer Science
  3. 2 problem solving positional indexes 3 points 1 point for...

Question: 2 problem solving positional indexes 3 points 1 point for...

Question details

2. Problem solving: Positional indexes (3 Points! 1 Point for solving each sub-problem) Consider the following documents: Doc 1: Today you are you. That is truer than true. Doc 2: Be who you are. Say how you feel. Because those who mind dont matter and those who matter dont mind. 1). Positional indexes are very useful to search against documents. Lets build positional indexes based on these documents using the format DocID: <posl,pos2,pos3,...>; ..., for example, the positional indexes for the words are and those are as follows. are: 1: <3>; 2: <4> those: 2: 10,16> No need to consider any type of normalization of tokens, in addition, the punctuation marks should be stripped off from words and ignored when you count tokens. Now please show the positional indexes for the words you, mind and matter you: mind: matter:

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution