title: How to extract word frequency from document-term matrix?
body: <p>I am doing LDA analysis with Python. And I used the following code to create a document-term matrix</p>
  
  <pre><code>corpus = [dictionary.doc2bow(text) for text in texts].
  </code></pre>
  
  <p>Is there any easy ways to count the word frequency over the whole corpus. Since I do have the dictionary which is a term-id list, I think I can match the word frequency with term-id.</p>