uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Epstein <eaepst...@gmail.com>
Subject Re: Restrictions on sofa data array
Date Fri, 30 Apr 2010 01:51:03 GMT
Hi Klaus,

Actually it was only one line of code to support use of a
StringArrayFS as argument
to setSofaDataArray(). As you noted, the exception message actually implied that
string arrays were a valid input, so this looks like a bug after all.

A few more lines were needed to support getSofaDataStream() for this type of
local Sofa data. There were no problems with XMI serialization.

I'll create a jira issue and fix this shortly. Thanks for pointing out
the problem.
Maybe this feature will end up being useful to you at some point.


On Wed, Apr 28, 2010 at 10:07 AM, Klaus Rothenhäusler
<rothenha@gmail.com> wrote:
> Eddie Epstein <eaepstein@...> writes:
>> It did occur to me after that the string array may not be supported, but
>> this could be considered a lack of imagination in the original implementation
>> rather than any fundamental design limitation :)
>> The changes to allow use of a string array for Sofa data would not be much.
>> Additional work probably needed for delta-CAS serialization used with remote
>> UIMA AS service replies.
> Allowing arrays of any FeatureStructures would probably entail major changes,
> wouldn't it? But maybe there's a chance at least to get support for string
> arrays then. Is there a special place to post feature requests or is it enough
> to raise an issue here?
> My understanding of the inner design of UIMA is too limited I'm afraid to offer
> any support here.
> Regards
> --Klaus

View raw message