title: How do I use the book functions (e.g. concoordance) in NLTK?
body: <p>I am going through this <a href="http://nltk.org/book/ch01.html" rel="nofollow">wonderful tutorial</a>.</p>
  
  <p>I downloaded a collection called <code>book</code>:</p>
  
  <pre><code>&gt;&gt;&gt; import nltk
  &gt;&gt;&gt; nltk.download()
  </code></pre>
  
  <p>and imported texts:</p>
  
  <pre><code>&gt;&gt;&gt; from nltk.book import *
  *** Introductory Examples for the NLTK Book ***
  Loading text1, ..., text9 and sent1, ..., sent9
  Type the name of the text or sentence to view it.
  Type: 'texts()' or 'sents()' to list the materials.
  text1: Moby Dick by Herman Melville 1851
  text2: Sense and Sensibility by Jane Austen 1811
  </code></pre>
  
  <p>I can then run commands on these texts:</p>
  
  <pre><code>&gt;&gt;&gt; text1.concordance("monstrous")
  </code></pre>
  
  <p><strong>How can I run these nltk commands on my own dataset? Are these collections the same as the object <code>book</code> in python?</strong></p>