Closed michaelcapizzi closed 8 years ago
How do you want this to work? Do you need to load something serialized, serialize something you've annotated, or both?
I don't think one is very useful without the other. So ideally, one could serialize
to text file (similarly to how it's done in scala
) and then also import that serialization
.
I've added to/from JSON methods to all classes. processors-server
has utilities for converting this JSON into a processors.Document
. Not sure if/when those changes will make it into processors
though.
It would be helpful to have access to the Serializer class from the original
processors
library.This would help with the annotation time required for large documents.