uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: CasIOUtils class - some meta-questions
Date Thu, 04 Aug 2016 22:06:14 GMT
I left it in, because I made a mistake in my original post.   The way you
specify compressed form 6 is to include a type system, and it's fine if that
type system is the cas's own type system.  This means no "filtering", but use
form 6.


On 8/4/2016 5:15 AM, Richard Eckart de Castilho wrote:
> I haven't used COMPRESSED_FILTERED so far (filter on save).
> I have used lenient loading of form 6 (filter on load).
> So for me it would be ok for the moment to throw an unsupported operation
> exception for COMPRESSED_FILTERED.
> -- Richard
>> On 04.08.2016, at 09:11, Peter Kl├╝gl <peter.kluegl@averbis.com> wrote:
>> I added it because Richard mentioned that he would like to have it (as
>> far as I remember). I do not care since we do not need to include the
>> type system.
>> Am 03.08.2016 um 22:34 schrieb Marshall Schor:
>>> The save in format COMPRESSED_FILTERED only makes sense if you pass in an
>>> additional type system to represent the "filter".
>>> Some choices:
>>> Disable this - throw unsupported operation exception for saving with
>>> COMPRESSED_FILTERED until we get a real need/use-case for this. I would also
>>> this for COMPRESSED_FILTERED_TS. *my choice*
>>> Otherwise, introduce another variant of save, which has an additional argument,
>>> which is the filtering TypeSystem, and require that form be used for these two
>>> forms.
>>> -Marshall

View raw message