In Gensim's documentation, it says:
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.
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.
How do you do this?
I've been using Pickle, but don't know if this is right...
import pickle
pickle.dump(tfidf, open("tfidf.p", "wb"))
tfidf_reloaded = pickle.load(open("tfidf.p", "rb"))