Question: 1) Consider the following documents D and query Q for the following: D1: you say goodbye D2: hello goodbye hello goodbye hello D3: I say
1) Consider the following documents D and query Q for the following:
D1: you say goodbye
D2: hello goodbye hello goodbye hello
D3: I say hello
Q1: I hello a.
a.Construct the vector space term-document matrix for the above documents using tf.idf term weighting.
use this formula
tf.idf wij=tfijlog(dfiD) where; tfij= number of term i in document j D= number of document in a database dfi= number of documents in a database containing term
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
