Exercise 1.1
Draw the inverted index that would be built for the following document collection:
Doc 1 new home sales top forecasts
Doc 2 home sales rise in july
Doc 3 increase in home sales in july
Doc 4 july new home sales rise
forecast | Doc 1 | |||
---|---|---|---|---|
home | Doc 1 | Doc 2 | Doc 3 | Doc 4 |
increase | Doc 3 | |||
july | Doc 2 | Doc 3 | Doc 4 | |
new | Doc 1 | Doc 4 | ||
rise | Doc 2 | Doc 4 | ||
sale | Doc 1 | Doc 2 | Doc 3 | Doc 4 |
top | Doc 1 |