CASCompleteSerializer uses CASMgrSerializer to serialize the type system, index specifications, and type priorities (all 3).
-Marshall On 7/20/2016 9:17 AM, Richard Eckart de Castilho wrote: > On 20.07.2016, at 14:19, Marshall Schor <[email protected]> wrote: >> Most serializations in core UIMA have not included the type system. The one >> which does is CASCompleteSerializer. This is a "serializable" (using >> standard >> Java serializations) object containing serializable forms of the CAS and Type >> System. > When I did the custom "S+" and "6+" formats for DKPro Core, I actually stored > TS > information by simply serializing the CASMgrSerializer from the > CASCompleteSerializer > into the file before adding the actual document. > > For lenient loading of form 6, having the plain type system information in > the binary > file was sufficient. > > However, for full reinitialization of the CAS, more information may be > required, e.g. > index configurations, type priorities, etc. I am not sure if all of this is > included > in the CASMgrSerializer and/or CASCompleteSerializer. > > Cheers, > > -- Richard
