Convert the following TDIM to a Frequency Normalised TF-IDF matrix and use the Vector Space Model to calculate the two most relevant documents to each of the following queries: (i) UK prime minister meet officials in Ireland covid situation (ii) Covid vaccine effect on omicron in Ireland Term Occurrences D1 D2 D3 D4 D5 ireland 4 1 0 1 0 president 0 0 0 5 2 prime 1 0 2 0 0 minister 1 0 2 0 0 UK 1 0 2 2 3 covid 1 3 0 0 1 vaccine 0 1 0 0 0 health 1 1 0 0 2 omicron 0 2 0 0 2 US 0 0 0 1 2

icon
Related questions
Question

Convert the following TDIM to a Frequency Normalised TF-IDF matrix and use the Vector Space Model to calculate the two most relevant documents to each of the following queries: (i) UK prime minister meet officials in Ireland covid situation (ii) Covid vaccine effect on omicron in Ireland Term Occurrences D1 D2 D3 D4 D5 ireland 4 1 0 1 0 president 0 0 0 5 2 prime 1 0 2 0 0 minister 1 0 2 0 0 UK 1 0 2 2 3 covid 1 3 0 0 1 vaccine 0 1 0 0 0 health 1 1 0 0 2 omicron 0 2 0 0 2 US 0 0 0 1 2 

Expert Solution
steps

Step by step

Solved in 5 steps with 1 images

Blurred answer