[
https://issues.apache.org/jira/browse/UIMA-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421387#comment-15421387
]
Richard Eckart de Castilho commented on UIMA-4685:
--------------------------------------------------
> In particular, is there a use case for Compressed Form 6 wanting to use TSI
> info, for purposes of resetting the CAS type system, instead of using it to
> specify just the TS and do lenient deserialization into the existing CAS?
One such case would be the desire of having a self-contained compressed/binary
format that can be loaded into the CAS editor without having to specify the
type system through a second file. Or said otherwise: why should one have to
specify a TS file if the document file already contains a TS?
> Add Common Load/Save APIs, including type system and index defs, for various
> CAS formats
> ----------------------------------------------------------------------------------------
>
> Key: UIMA-4685
> URL: https://issues.apache.org/jira/browse/UIMA-4685
> Project: UIMA
> Issue Type: New Feature
> Components: CasEditor, Core Java Framework
> Affects Versions: 2.8.1SDK
> Reporter: Peter Klügl
> Assignee: Peter Klügl
> Fix For: 2.9.0SDK
>
> Attachments: BinaryCasIOUtils.java, caseditor.csv,
> caseditor_bincas.csv
>
>
> Create a new CasIOUtils class having common load and save APIs, with optional
> saving of type system and index definitions, in all the various CAS
> serialization formats (except JSON). Implement heuristic discovery for
> deserialization to support automatic selection of the right kind of
> deserializer. Update the headers for binary to support indicating they have
> the type system included (not used yet). Update the SerialFormat to support
> this. Update the CasEditor and other components to use this new API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)