uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <...@apache.org>
Subject Re: CasIOUtils class - some meta-questions
Date Thu, 04 Aug 2016 09:15:35 GMT
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 do
>> 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


Mime
View raw message