title: How to get TF-IDF scores for the words?
body: <p>I have a large corpus (around 400k unique sentences). I just want to get TF-IDF score for each word. I tried to calculate the score for each word by scanning each word and calculating the frequency but it's taking too long.</p>
  
  <p>I used :</p>
  
  <pre><code>  X= tfidfVectorizer(corpus)
  </code></pre>
  
  <p>from sklearn but it directly gives back the vector representation of the sentence. Is there any way I can get the TF-IDF scores for each word in the corpus?</p>