title: What does "document" mean in a NLP context?
body: <p>As I was reading about <a href="https://en.wikipedia.org/wiki/Tf%E2%80%93idf#Inverse_document_frequency" rel="nofollow noreferrer">tf–idf</a> on Wiki, I was confused by what it means by the word "document". Does it mean paragraph?</p>
  
  <p>"The inverse document frequency is a measure of how much information the word provides, that is, whether the term is common or rare across all documents. It is the logarithmically scaled inverse fraction of the documents that contain the word, obtained by dividing the total number of documents by the number of documents containing the term, and then taking the logarithm of that quotient."</p>