title: How do you save a model, dictionary and corpus to disk in Gensim, and then load them again?
body: <p>In Gensim's <a href="https://radimrehurek.com/gensim/auto_examples/core/run_core_concepts.html" rel="noreferrer">documentation</a>, it says:</p>
  
  <blockquote>
    <p>You can save trained models to disk and later load them back, either to continue training on new training documents or to transform new documents.</p>
  </blockquote>
  
  <p>I would like to do this with a dictionary, corpus and tf.idf model. However, the documentation seems to say that it is possible, without explaining how to save these things and load them back up again.</p>
  
  <p>How do you do this?</p>
  
  <hr>
  
  <p>I've been using Pickle, but don't know if this is right...</p>
  
  <pre><code>import pickle
  pickle.dump(tfidf, open("tfidf.p", "wb"))
  tfidf_reloaded = pickle.load(open("tfidf.p", "rb"))
  </code></pre>