Search for question
Question

Problem 2. (10 points) Consider the following three sentences as all the text in a collection. Please remove stop words, and then calculate the TF.IDF score for every remaining word in every sentence. When calculating the IDF, use log2. The list of stop words is {1, we, it, are, be, is, am, the, will}. • Sentence 1: The weather forecast says it will be sunny tomorrow. • Sentence 2: I like sunny weather. • Sentence 3: The assignment is due tomorrow.

Fig: 1