JasonKessler / scattertext

Beautiful visualizations of how language differs among document types.
Apache License 2.0
2.23k stars 289 forks source link

Saving CorpusDF object #62

Closed scottkleinman closed 4 years ago

scottkleinman commented 4 years ago

Is there a method for serialising a CorpusDF object to disk and reloading it later? That could be a real time saver, but I can't seem to find one.

JasonKessler commented 4 years ago

You should be able to use joblib.dump and joblib.save to serialize and deserialize CorpusDF and ParsedCorpus objects.

scottkleinman commented 4 years ago

Yes, that works. Thanks!