title: Train NGramModel in Python
body: <p>I am using Python 3.5, installed and managed with Anaconda. I want to train an NGramModel (from nltk) using some text. My installation does not find the module nltk.model</p>
  
  <p>There are some possible answers to this question (pick the correct one, and explain how to do it):</p>
  
  <ol>
  <li>A different version of nltk can be installed using conda, so that it contains the model module. This is not just an older version (it would need to be too old), but a different version containing the model (or model2) branch of the current nltk development. </li>
  <li>The version of nltk mentioned in the previous point cannot be installed using conda, but can be installed using pip.</li>
  <li>nltk.model is deprecated, better use some other package (explain which package)</li>
  <li>there are better options than nltk for training an ngram model, use some other library (explain which library)</li>
  <li>none of the above, to train an ngram model the best option is something else (explain what).</li>
  </ol>