Can you make me understand , what does these lines of code means ?
word_index = {w: idx for idx, w in enumerate(vocabulary)}
and how are we fitting a 'corpus' which is a text to the tif-if vectoriser ? "tfidf.fit(corpus)" "tfidf.transform(corpus)" ?
Read more… (42 words)