Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

Please write documentation! #98

Open
@benwing

Description

@benwing

Hello. I'm new to this project and just tried to test Scala pickling for possible use in a medium-sized NLP project (c. 32,000 lines of code). Scala pickling looks like an awesome project and I'd love to able to use it -- I have some relatively-simply-structured but very large and time-consuming-to-build objects for storing things like language models and ranking-model training data, and I want to serialize them once built to run different experiments on the same data.

But unfortunately there's almost zero documentation and so I have no idea how to do simple things like creating custom picklers. (I tried pickling a fairly simple class called SparseFeatureVectorFactory and I see it didn't pickle any of the subfields, so I need a custom pickler to specify them.) Is there any way that some documentation can be written up fairly quickly explaining basic usage and noting the main gotchas? The only docs I could find are Heather's OOPSLA paper, which is too technical to be useful as intro documentation. (Note in addition that even the "Basic Usage" section isn't quite right -- it doesn't say you need to write import binary._ or import json._ to select the pickling format.)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions