uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Binary CAS serialization and "identical type system"
Date Thu, 08 Nov 2012 14:55:14 GMT
On 11/6/2012 6:16 PM, Richard Eckart de Castilho wrote:
> Hi,
> I'd like to understand a bit better what it means when it is said that "binary CAS serialization
requires the type system to be identical". I have implemented a simple CAS consumer and reader
based on the CASCompleteSerializer. As far as I understand it, the CASCompleteSerializer serializes
not only the feature structures but also the complete type system and index repository. I
understand that when I deserialize that into a fresh CAS, whatever type system is  already
in the CAS is fully replaced by the deserialized type system. Consequently, all binary CAS
written and later read using the CASCompleteSerializer should always fullfil the requirement
"the type system is identical". 
> Is this correct?

I think so.  Best of course to test :-)

> Cheers,
> -- Richard

View raw message