IndicoDataSolutions / Passage

A little library for text analysis with RNNs.
MIT License
530 stars 134 forks source link

Move implementation of load and save into __setstate__ and __getstate__. #18

Closed dnouri closed 6 years ago

dnouri commented 9 years ago

Using the pickle protocol allows us to use pickle on the class instance itself.

Slater-Victoroff commented 9 years ago

Sorry for the slow reply again.

Love it! Is there any way you could add a docstring and/or a test for the save/load interface?

With that I think we can merge pretty immediately.

moneyatindico commented 6 years ago

These are no longer applicable, closing